Skip to content

Commit

Permalink
fix LE_IPV4_PROTO_TYPE_I varible value in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey4l authored and yuanchaoa committed May 28, 2024
1 parent e4a8573 commit 08bf9f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/libs/datatype/decapsulate.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const (
TUNNEL_TYPE_TENCENT_GRE = TunnelType(pb.DecapType_DECAP_TYPE_TENCENT) // GRE.ver=0/1 GRE.protoType=IPv4/IPv6
TUNNEL_TYPE_ERSPAN_OR_TEB = TUNNEL_TYPE_TENCENT_GRE + 1

LE_IPV4_PROTO_TYPE_I = 0x0008 // 0x0008's LittleEndian
LE_IPV4_PROTO_TYPE_I = 0x0008 // 0x0800's LittleEndian
LE_IPV6_PROTO_TYPE_I = 0xDD86 // 0x86dd's LittleEndian
LE_ERSPAN_PROTO_TYPE_II = 0xBE88 // 0x88BE's LittleEndian
LE_ERSPAN_PROTO_TYPE_III = 0xEB22 // 0x22EB's LittleEndian
Expand Down

0 comments on commit 08bf9f6

Please sign in to comment.