summaryrefslogtreecommitdiffstats
path: root/zebra/if_proc.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2010-02-02 03:28:05 +0100
committerDavid Lamparter <equinox@diac24.net>2010-02-03 05:27:12 +0100
commite1ac697441f1147a69aad66207385fdd716a05e7 (patch)
tree83d0a5591066e37b7373f663964f79c6a8597e89 /zebra/if_proc.c
parenta3e5daee7205e8bffb44d914a74d38fe8ad0c986 (diff)
downloadquagga-e1ac697441f1147a69aad66207385fdd716a05e7.tar.bz2
quagga-e1ac697441f1147a69aad66207385fdd716a05e7.tar.xz
netlink: process scope value, save it
add struct connected "scope" field, fill it from kernel data and display it in "show interface" address list.
Diffstat (limited to 'zebra/if_proc.c')
-rw-r--r--zebra/if_proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/if_proc.c b/zebra/if_proc.c
index 3aec530b..6c538116 100644
--- a/zebra/if_proc.c
+++ b/zebra/if_proc.c
@@ -240,7 +240,7 @@ ifaddr_proc_ipv6 ()
str2in6_addr (addr, &p.prefix);
p.prefixlen = plen;
- connected_add_ipv6 (ifp, 0, &p.prefix, p.prefixlen, NULL, ifname);
+ connected_add_ipv6 (ifp, 0, &p.prefix, p.prefixlen, NULL, ifname, 0);
}
fclose (fp);
return 0;