summaryrefslogtreecommitdiff
path: root/ipproto.c
diff options
context:
space:
mode:
authorGeorge Neville-Neil <gnn@freebsd.org>2011-11-23 11:53:13 -0800
committerGuy Harris <guy@alum.mit.edu>2011-11-23 11:53:13 -0800
commit5d52dbf4c7340b9e79f280b2b444c9b652a3458f (patch)
tree072857910c958cb18d6f7393239a1d371d906dab /ipproto.c
parent36b75f7121d9aa251dfc42b590dd8b93f7a8288a (diff)
downloadtcpdump-5d52dbf4c7340b9e79f280b2b444c9b652a3458f.tar.gz
Add a CARP dissector and a command-line option to dissect proto 112 as CARP.
CARP and VRRP both use IP protocol number 112, so there needs to be a -T flag to specify that protocol 112 be dissected as CARP rather than VRRP. Also update the man page.
Diffstat (limited to 'ipproto.c')
-rwxr-xr-xipproto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipproto.c b/ipproto.c
index 644b3642..cbb9bf3f 100755
--- a/ipproto.c
+++ b/ipproto.c
@@ -55,6 +55,7 @@ const struct tok ipproto_values[] = {
{ IPPROTO_PGM, "PGM" },
{ IPPROTO_SCTP, "SCTP" },
{ IPPROTO_MOBILITY, "Mobility" },
+ { IPPROTO_CARP, "CARP" },
{ 0, NULL }
};