mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
tcpdump: decode pfsync packets on network interfaces
When print-ip-demux.c was introduced on ee67461e
, the pfsync_ip_print
function was missed, causing tcpdump to treat pfsync packets on network
interfaces as an unknown protocol.
MFC after: 1 week
Sponsored by: InnoGames GmbH
Differential Revision: https://reviews.freebsd.org/D42504
This commit is contained in:
parent
d0941ed9b5
commit
85247ee6a2
|
@ -216,6 +216,12 @@ ip_demux_print(netdissect_options *ndo,
|
|||
}
|
||||
break;
|
||||
|
||||
#ifdef HAVE_NET_IF_PFLOG_H
|
||||
case IPPROTO_PFSYNC:
|
||||
pfsync_ip_print(ndo, bp, length);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case IPPROTO_NONE:
|
||||
ND_PRINT("no next header");
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue