summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog1
-rw-r--r--lib/sockopt.h2
2 files changed, 2 insertions, 1 deletions
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 */