]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Comparison of kernel reject routes fixed.
authorMartin Mares <mj@ucw.cz>
Mon, 7 Dec 1998 10:16:15 +0000 (10:16 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 7 Dec 1998 10:16:15 +0000 (10:16 +0000)
sysdep/linux/krt-scan.c

index 9d8cf5f491bc03dd825d0cb99644f40cf625856a..baa39d858f2597e9405ea4fa4d2a4031d2a4eecc 100644 (file)
@@ -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;
        }