mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-12-12 03:13:29 +08:00
Geneve: Fix the Geneve UDP port test
GENEVE_PORT (6081) is a destination port.
This commit is contained in:
parent
e5bd2dcf49
commit
5605751984
@ -653,7 +653,7 @@ udp_print(netdissect_options *ndo, const u_char *bp, u_int length,
|
||||
otv_print(ndo, cp, length);
|
||||
else if (IS_SRC_OR_DST_PORT(VXLAN_PORT))
|
||||
vxlan_print(ndo, cp, length);
|
||||
else if (IS_SRC_OR_DST_PORT(GENEVE_PORT))
|
||||
else if (dport == GENEVE_PORT)
|
||||
geneve_print(ndo, cp, length);
|
||||
else if (IS_SRC_OR_DST_PORT(LISP_CONTROL_PORT))
|
||||
lisp_print(ndo, cp, length);
|
||||
|
Loading…
Reference in New Issue
Block a user