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.h | |
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.h')
-rw-r--r-- | ipproto.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -129,10 +129,7 @@ extern const struct tok ipproto_values[]; #define IPPROTO_IPCOMP 108 #endif #ifndef IPPROTO_VRRP -#define IPPROTO_VRRP 112 -#endif -#ifndef IPPROTO_CARP -#define IPPROTO_CARP 112 +#define IPPROTO_VRRP 112 /* See also CARP. */ #endif #ifndef IPPROTO_PGM #define IPPROTO_PGM 113 |