summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink/netlink.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2003-02-22 22:38:15 +0000
committerMartin Mares <mj@ucw.cz>2003-02-22 22:38:15 +0000
commit8001948b43c9367e86473630f58527249d7da04f (patch)
tree43b9c480aa20039b084cb6be45044eda164e7738 /sysdep/linux/netlink/netlink.c
parent8c92bf6a0ddc21f2fa19c195a73d43837f60fc23 (diff)
Report link-scope addresses as well.
Diffstat (limited to 'sysdep/linux/netlink/netlink.c')
-rw-r--r--sysdep/linux/netlink/netlink.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sysdep/linux/netlink/netlink.c b/sysdep/linux/netlink/netlink.c
index d08a1216..146148a0 100644
--- a/sysdep/linux/netlink/netlink.c
+++ b/sysdep/linux/netlink/netlink.c
@@ -340,11 +340,6 @@ nl_parse_addr(struct nlmsghdr *h)
return;
}
-#ifdef IPV6
- if (i->ifa_scope == RT_SCOPE_LINK)
- return;
-#endif
-
ifi = if_find_by_index(i->ifa_index);
if (!ifi)
{