summaryrefslogtreecommitdiffstats
path: root/zebra/if_ioctl_solaris.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_ioctl_solaris.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_ioctl_solaris.c')
-rw-r--r--zebra/if_ioctl_solaris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c
index fc384ea2..86fcc484 100644
--- a/zebra/if_ioctl_solaris.c
+++ b/zebra/if_ioctl_solaris.c
@@ -327,11 +327,11 @@ if_get_addr (struct interface *ifp, struct sockaddr *addr, const char *label)
/* Set address to the interface. */
if (af == AF_INET)
connected_add_ipv4 (ifp, flags, &SIN (addr)->sin_addr, prefixlen,
- (struct in_addr *) dest_pnt, label);
+ (struct in_addr *) dest_pnt, label, 0);
#ifdef HAVE_IPV6
else if (af == AF_INET6)
connected_add_ipv6 (ifp, flags, &SIN6 (addr)->sin6_addr, prefixlen,
- (struct in6_addr *) dest_pnt, label);
+ (struct in6_addr *) dest_pnt, label, 0);
#endif /* HAVE_IPV6 */
return 0;