From: paul Date: Fri, 22 Oct 2004 16:55:10 +0000 (+0000) Subject: 2004-10-22 Paul Jakma X-Git-Tag: frr-2.0-rc1~3446 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4927cf0bf0828f2c4a9bda30f3c890d1835c7370;p=mirror%2Ffrr.git 2004-10-22 Paul Jakma * sockopt.h: Fix elif that should be an else. --- diff --git a/lib/ChangeLog b/lib/ChangeLog index 40e0f22915..d9e814099e 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -6,6 +6,7 @@ * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have neither IP_RECVIF nor IP_PKTINFO (eg openbsd). + Fix elif that should be an else. * command.h: Cleanup the defines a bit, add helper defines and collapse all defines to use those. Add an attribute field to cmd_element to support, eg hidden or deprecated commands, add diff --git a/lib/sockopt.h b/lib/sockopt.h index 63e915ddb4..bec26163b5 100644 --- a/lib/sockopt.h +++ b/lib/sockopt.h @@ -71,7 +71,7 @@ int setsockopt_ipv6_multicast_loop (int, int); #define SOPT_SIZE_CMSG_IFINDEX_IPV4() SOPT_SIZE_CMSG_PKTINFO_IPV4() #elif defined (SOPT_SIZE_CMSG_RECVIF_IPV4) #define SOPT_SIZE_CMSG_IFINDEX_IPV4() SOPT_SIZE_CMSG_RECVIF_IPV4() -#elif /* Nothing available */ +#else /* Nothing available */ #define SOPT_SIZE_CMSG_IFINDEX_IPV4() (sizeof (char *)) #endif /* SOPT_SIZE_CMSG_IFINDEX_IPV4 */