diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2017-08-27 12:19:59 +0100 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2017-08-27 14:16:34 +0100 |
commit | 1b17a8cc5e2f73c17a11b07ada38e2cb173975a7 (patch) | |
tree | 828c950594ce92813a740d58738b6149e69b341f /ipproto.c | |
parent | 516d11ec82618d1bfaf19a693b1171eaac42397e (diff) | |
download | tcpdump-1b17a8cc5e2f73c17a11b07ada38e2cb173975a7.tar.gz |
Dismiss unused IPPROTO_CARP.
In ipproto_values[] IPPROTO_CARP never matched because of IPPROTO_VRRP,
which matched earlier. Remove the array element and the macro and leave
some comments instead.
Diffstat (limited to 'ipproto.c')
-rw-r--r-- | ipproto.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -46,11 +46,10 @@ const struct tok ipproto_values[] = { { IPPROTO_OSPF, "OSPF" }, { IPPROTO_PIM, "PIM" }, { IPPROTO_IPCOMP, "Compressed IP" }, - { IPPROTO_VRRP, "VRRP" }, + { IPPROTO_VRRP, "VRRP" }, /* See also CARP. */ { IPPROTO_PGM, "PGM" }, { IPPROTO_SCTP, "SCTP" }, { IPPROTO_MOBILITY, "Mobility" }, - { IPPROTO_CARP, "CARP" }, { 0, NULL } }; |