diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-29 22:54:24 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-05-29 22:54:24 -0700 |
commit | b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef (patch) | |
tree | e49268da6abb834c02049ac982b364e991aecb2e /zebra/rtadv.c | |
parent | b2d49f178cc69c580039c5fb058f6eba4a542b1f (diff) | |
parent | 97dd2bf9bb517c428cfa2778cac071ad845d03a1 (diff) | |
download | quagga-b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef.tar.bz2 quagga-b25e631dcc357f16d05fb2ac4f1570d7e86ec0ef.tar.xz |
Merge branch 'hollywood' of suva.vyatta.com:/git/vyatta-quagga into hollywood
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r-- | zebra/rtadv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c index 4bdb83d5..0097e28f 100644 --- a/zebra/rtadv.c +++ b/zebra/rtadv.c @@ -90,11 +90,13 @@ rtadv_new (void) return new; } +#if 0 static void rtadv_free (struct rtadv *rtadv) { XFREE (MTYPE_TMP, rtadv); } +#endif static int rtadv_recv_packet (int sock, u_char *buf, int buflen, @@ -451,7 +453,7 @@ rtadv_read (struct thread *thread) int len; u_char buf[RTADV_MSG_SIZE]; struct sockaddr_in6 from; - unsigned int ifindex; + unsigned int ifindex = 0; int hoplimit = -1; sock = THREAD_FD (thread); |