diff options
author | Nigel Taylor <nigel@cvs.openbsd.org> | 2011-10-15 10:29:07 +0000 |
---|---|---|
committer | Nigel Taylor <nigel@cvs.openbsd.org> | 2011-10-15 10:29:07 +0000 |
commit | 9a287cc630df853fd17b291c9b63d28ff738a197 (patch) | |
tree | 72b4c369abedd82a122964fbbc55fc5248f518a1 /sys/netinet6 | |
parent | 4c11ef3279ffab4bbabaddb4077113243534047c (diff) |
dont define proxydl in nd6_na_output when NCARP = 0 as unused
OK sthend@
Diffstat (limited to 'sys/netinet6')
-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)); |