diff options
author | 2011-10-15 10:29:06 +0000 | |
---|---|---|
committer | 2011-10-15 10:29:06 +0000 | |
commit | a28c392bf2158bdf4596add2ca479d5a7914416f (patch) | |
tree | ff9d1c2e17aa58945fba554472f1da82a47ced42 | |
parent | update currency exchange rates; (diff) | |
download | wireguard-openbsd-a28c392bf2158bdf4596add2ca479d5a7914416f.tar.xz wireguard-openbsd-a28c392bf2158bdf4596add2ca479d5a7914416f.zip |
dont define proxydl in nd6_na_output when NCARP = 0 as unused
OK sthend@
-rw-r--r-- | sys/netinet6/nd6_nbr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c index ea61ceaf775..4a6d8aeb6b7 100644 --- a/sys/netinet6/nd6_nbr.c +++ b/sys/netinet6/nd6_nbr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nd6_nbr.c,v 1.58 2011/10/14 16:16:43 stsp Exp $ */ +/* $OpenBSD: nd6_nbr.c,v 1.59 2011/10/15 10:29:06 nigel Exp $ */ /* $KAME: nd6_nbr.c,v 1.61 2001/02/10 16:06:14 jinmei Exp $ */ /* @@ -869,7 +869,9 @@ nd6_na_output(struct ifnet *ifp, struct in6_addr *daddr6, int icmp6len, maxlen, error; caddr_t mac; struct route_in6 ro; +#if NCARP > 0 struct sockaddr_dl *proxydl = NULL; +#endif mac = NULL; bzero(&ro, sizeof(ro)); |