diff options
author | Martin Mares <mj@ucw.cz> | 1998-12-07 11:16:15 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1998-12-07 11:16:15 +0100 |
commit | cdc6bfa70f730c3741537cc21cdd0a5d13ed2af9 (patch) | |
tree | d3c657f14635f367cfc6db11c969ad3e3777683b /sysdep/linux/krt-scan.c | |
parent | 12df4d909bdfa9e99dd0dd1b9fd690ce85b87dc5 (diff) | |
download | bird-cdc6bfa70f730c3741537cc21cdd0a5d13ed2af9.tar bird-cdc6bfa70f730c3741537cc21cdd0a5d13ed2af9.zip |
Comparison of kernel reject routes fixed.
Diffstat (limited to 'sysdep/linux/krt-scan.c')
-rw-r--r-- | sysdep/linux/krt-scan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/linux/krt-scan.c b/sysdep/linux/krt-scan.c index 9d8cf5f..baa39d8 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; } |