summaryrefslogtreecommitdiff
path: root/proto/radv/radv.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-12 02:03:59 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-12 02:03:59 +0100
commitd44e686e9bcae5850115c0e1adfe24523dce61ee (patch)
tree88feb4c9e43fe547db954496ec5d9eb66b307f52 /proto/radv/radv.c
parentfe9f1a6dedda6bab23cbb605d1cd5db6cd3e2468 (diff)
Follow-up commit on integrated BIRD
Use net_addr for interface address prefixes, support net_addr in configuration parser.
Diffstat (limited to 'proto/radv/radv.c')
-rw-r--r--proto/radv/radv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/radv/radv.c b/proto/radv/radv.c
index 2de89991..97713b95 100644
--- a/proto/radv/radv.c
+++ b/proto/radv/radv.c
@@ -143,7 +143,7 @@ find_lladdr(struct iface *iface)
{
struct ifa *a;
WALK_LIST(a, iface->addrs)
- if (a->scope == SCOPE_LINK)
+ if ((a->prefix.type == NET_IP6) && (a->scope == SCOPE_LINK))
return a;
return NULL;