From 4a91150175268d49a1c17131838e5afad925788b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 1 Jun 2000 12:58:41 +0000 Subject: Updated for new scope handling. Also, provide proper address scopes in struct ifa. --- sysdep/linux/krt-scan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep/linux/krt-scan.c') 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... */ -- cgit v1.2.3