Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ldpd allow compile without -DINET6



details:   https://anonhg.NetBSD.org/src/rev/8eabfeee72ed
branches:  trunk
changeset: 784358:8eabfeee72ed
user:      kefren <kefren%NetBSD.org@localhost>
date:      Sat Jan 26 17:46:50 2013 +0000

description:
allow compile without -DINET6

diffstat:

 usr.sbin/ldpd/socketops.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r bc5a793b024f -r 8eabfeee72ed usr.sbin/ldpd/socketops.c
--- a/usr.sbin/ldpd/socketops.c Sat Jan 26 17:37:39 2013 +0000
+++ b/usr.sbin/ldpd/socketops.c Sat Jan 26 17:46:50 2013 +0000
@@ -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 @@
 {
        struct ip_mreq  mcast_addr;
        int s, joined_groups;
+       struct ifaddrs *ifa, *ifb;
+       uint lastifindex;
 #ifdef INET6
        struct ipv6_mreq mcast_addr6;
-       struct ifaddrs *ifa, *ifb;
-       uint lastifindex;
        struct sockaddr_in6 *if_sa6;
 #endif
        struct hello_socket *hs;



Home | Main Index | Thread Index | Old Index