]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
KRT: Remove useless option
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 23 Jan 2018 13:48:07 +0000 (14:48 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 23 Jan 2018 13:48:07 +0000 (14:48 +0100)
sysdep/unix/krt.Y
sysdep/unix/krt.c
sysdep/unix/krt.h

index 1cb283893ed2efe8049c18e28466e0bc2942ce2a..31f5f1d4b889c1efb8ad6a8c82a33f477f92c8b0 100644 (file)
@@ -78,7 +78,6 @@ kern_item:
        cf_error("Learning of kernel routes not supported on this platform");
 #endif
    }
- | DEVICE ROUTES bool { THIS_KRT->devroutes = $3; }
  | GRACEFUL RESTART bool { THIS_KRT->graceful_restart = $3; }
  | MERGE PATHS bool kern_mp_limit {
       krt_set_merge_paths(this_channel, $3, $4);
index 29d2d01eea7157edc3e460746c1dd7ae967553c5..d4c0db725e7b22d427f672812c5bf19e737f77d0 100644 (file)
@@ -1159,7 +1159,7 @@ krt_reconfigure(struct proto *p, struct proto_config *CF)
     return 0;
 
   /* persist, graceful restart need not be the same */
-  return o->scan_time == n->scan_time && o->learn == n->learn && o->devroutes == n->devroutes;
+  return o->scan_time == n->scan_time && o->learn == n->learn;
 }
 
 struct proto_config *
index 3bfccfc2c29c356f41609c354f604fc1fd6df44b..8d3add0eb3ca132ca089d75179a6cf8a8a989097 100644 (file)
@@ -49,7 +49,6 @@ struct krt_config {
   btime scan_time;             /* How often we re-scan routes */
   int persist;                 /* Keep routes when we exit */
   int learn;                   /* Learn routes from other sources */
-  int devroutes;               /* XXX: remove */
   int graceful_restart;                /* Regard graceful restart recovery */
 };