summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-19 23:26:37 +0000
committerpeter <peter@FreeBSD.org>2002-03-19 23:26:37 +0000
commit5a70574f9cb9fe2e3fa45b5af4c95bcb021728ad (patch)
tree680e6caee2992034900e4b83dcf2792c588accad /sys/netinet6
parent1c2c64421fc4ae2dc0cdb273792f3ab1faac9bfb (diff)
downloadFreeBSD-src-5a70574f9cb9fe2e3fa45b5af4c95bcb021728ad.zip
FreeBSD-src-5a70574f9cb9fe2e3fa45b5af4c95bcb021728ad.tar.gz
Pacify gcc-3.1.
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/nd6_nbr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
index 9de830b..9214de9 100644
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -830,7 +830,7 @@ nd6_na_output(ifp, daddr6, taddr6, flags, tlladdr, sdl0)
struct ip6_moptions im6o;
int icmp6len;
int maxlen;
- caddr_t mac;
+ caddr_t mac = NULL;
struct ifnet *outif = NULL;
/* estimate the size of message */
@@ -908,7 +908,6 @@ nd6_na_output(ifp, daddr6, taddr6, flags, tlladdr, sdl0)
* target lladdr option SHOULD NOT be included.
*/
if (tlladdr) {
- mac = NULL;
/*
* sdl0 != NULL indicates proxy NA. If we do proxy, use
* lladdr in sdl0. If we are not proxying (sending NA for
OpenPOWER on IntegriCloud