summaryrefslogtreecommitdiff
path: root/ipproto.h
diff options
context:
space:
mode:
authorDenis Ovsienko <denis@ovsienko.info>2017-08-27 12:19:59 +0100
committerDenis Ovsienko <denis@ovsienko.info>2017-08-27 14:16:34 +0100
commit1b17a8cc5e2f73c17a11b07ada38e2cb173975a7 (patch)
tree828c950594ce92813a740d58738b6149e69b341f /ipproto.h
parent516d11ec82618d1bfaf19a693b1171eaac42397e (diff)
downloadtcpdump-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.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ipproto.h b/ipproto.h
index 75def3d8..ac6fd2cb 100644
--- a/ipproto.h
+++ b/ipproto.h
@@ -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