diff options
author | George Neville-Neil <gnn@freebsd.org> | 2011-11-23 11:53:13 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-11-23 11:53:13 -0800 |
commit | 5d52dbf4c7340b9e79f280b2b444c9b652a3458f (patch) | |
tree | 072857910c958cb18d6f7393239a1d371d906dab /ipproto.h | |
parent | 36b75f7121d9aa251dfc42b590dd8b93f7a8288a (diff) | |
download | tcpdump-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.h')
-rw-r--r-- | ipproto.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -133,6 +133,9 @@ extern const struct tok ipproto_values[]; #ifndef IPPROTO_VRRP #define IPPROTO_VRRP 112 #endif +#ifndef IPPROTO_CARP +#define IPPROTO_CARP 112 +#endif #ifndef IPPROTO_PGM #define IPPROTO_PGM 113 #endif |