From 1b17a8cc5e2f73c17a11b07ada38e2cb173975a7 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Sun, 27 Aug 2017 12:19:59 +0100 Subject: 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. --- ipproto.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ipproto.h') 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 -- cgit v1.2.1