summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/krt-scan.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-01 14:58:41 +0200
committerMartin Mares <mj@ucw.cz>2000-06-01 14:58:41 +0200
commit4a91150175268d49a1c17131838e5afad925788b (patch)
tree12e90d13d1942006e02e8a1c97b2d49e84c901ab /sysdep/linux/krt-scan.c
parent0f32f2a65a086561fdfd31d4efdea839ec9ce573 (diff)
downloadbird-4a91150175268d49a1c17131838e5afad925788b.tar
bird-4a91150175268d49a1c17131838e5afad925788b.zip
Updated for new scope handling.
Also, provide proper address scopes in struct ifa.
Diffstat (limited to 'sysdep/linux/krt-scan.c')
-rw-r--r--sysdep/linux/krt-scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c
index 42f9287..b7fc129 100644
--- a/sysdep/linux/krt-scan.c
+++ b/sysdep/linux/krt-scan.c
@@ -100,7 +100,7 @@ krt_parse_entry(byte *ent, struct krt_proto *p)
if (flags & RTF_GATEWAY)
{
neighbor *ng = neigh_find(&p->p, &gw, 0);
- if (ng)
+ if (ng && ng->scope)
a.iface = ng->iface;
else
/* FIXME: Remove this warning? Handle it somehow... */