Module Name:    src
Committed By:   kefren
Date:           Sat Jan 26 17:46:50 UTC 2013

Modified Files:
        src/usr.sbin/ldpd: socketops.c

Log Message:
allow compile without -DINET6


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/ldpd/socketops.c
diff -u src/usr.sbin/ldpd/socketops.c:1.17 src/usr.sbin/ldpd/socketops.c:1.18
--- src/usr.sbin/ldpd/socketops.c:1.17	Sat Jan 26 17:29:55 2013
+++ src/usr.sbin/ldpd/socketops.c	Sat Jan 26 17:46:50 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: socketops.c,v 1.17 2013/01/26 17:29:55 kefren Exp $ */
+/* $NetBSD: socketops.c,v 1.18 2013/01/26 17:46:50 kefren Exp $ */
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -89,10 +89,10 @@ create_hello_sockets()
 {
 	struct ip_mreq  mcast_addr;
 	int s, joined_groups;
-#ifdef INET6
-	struct ipv6_mreq mcast_addr6;
 	struct ifaddrs *ifa, *ifb;
 	uint lastifindex;
+#ifdef INET6
+	struct ipv6_mreq mcast_addr6;
 	struct sockaddr_in6 *if_sa6;
 #endif
 	struct hello_socket *hs;

Reply via email to