mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-27 12:03:44 +08:00
For Babel, recognise both UDP/6696 and UDP/6697.
IANA has reallocated the Babel port; it is now 6696. This patch makes tcpdump recognise both the old and the new Babel ports.
This commit is contained in:
parent
79bb56d318
commit
2e2e33875f
@ -609,7 +609,7 @@ udp_print(register const u_char *bp, u_int length,
|
||||
ripng_print((const u_char *)(up + 1), length);
|
||||
else if (ISPORT(DHCP6_SERV_PORT) || ISPORT(DHCP6_CLI_PORT))
|
||||
dhcp6_print((const u_char *)(up + 1), length);
|
||||
else if (ISPORT(BABEL_PORT))
|
||||
else if (ISPORT(BABEL_PORT) || ISPORT(BABEL_PORT_OLD))
|
||||
babel_print((const u_char *)(up + 1), length);
|
||||
#endif /*INET6*/
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user