summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpaul <paul>2004-10-22 16:55:10 +0000
committerpaul <paul>2004-10-22 16:55:10 +0000
commit4927cf0bf0828f2c4a9bda30f3c890d1835c7370 (patch)
tree09ec812c627aeeb00a5aba1c58b0fe675d7a4fb8
parent406d67165262a3f9443f395c7c85d8c3519309ef (diff)
2004-10-22 Paul Jakma <paul@dishone.st>
* sockopt.h: Fix elif that should be an else.
-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 */