From: Martin Mares Date: Mon, 7 Dec 1998 10:16:15 +0000 (+0000) Subject: Comparison of kernel reject routes fixed. X-Git-Tag: v1.2.0~1769 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cdc6bfa70f730c3741537cc21cdd0a5d13ed2af9;p=thirdparty%2Fbird.git Comparison of kernel reject routes fixed. --- diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c index 9d8cf5f49..baa39d858 100644 --- a/sysdep/linux/krt-scan.c +++ b/sysdep/linux/krt-scan.c @@ -113,12 +113,14 @@ krt_parse_entry(byte *e, struct krt_proto *p) case RTD_DEVICE: #ifdef CONFIG_AUTO_ROUTES ok = 1; + /* FIXME: What about static interface routes? */ #else ok = !(flags & RTF_GATEWAY) && !strcmp(iface, a->iface->name); #endif break; case RTD_UNREACHABLE: ok = flags & RTF_REJECT; + break; default: ok = 0; }