From 4927cf0bf0828f2c4a9bda30f3c890d1835c7370 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 22 Oct 2004 16:55:10 +0000 Subject: 2004-10-22 Paul Jakma * sockopt.h: Fix elif that should be an else. --- lib/ChangeLog | 1 + lib/sockopt.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 40e0f229..d9e81409 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 63e915dd..bec26163 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 */ -- cgit v1.2.1