]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Filter: Fix reconfiguration of roa_check()
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 6 Apr 2017 15:16:49 +0000 (17:16 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Tue, 18 Apr 2017 11:56:51 +0000 (13:56 +0200)
filter/filter.c

index 9f6c2cdd0a46dc9b5522f1972080d40986630189..7dcf22ede1f3e7a46af76818ef57d89f8fc7a8b5 100644 (file)
@@ -1693,15 +1693,13 @@ i_same(struct f_inst *f1, struct f_inst *f2)
   case P('a','f'):
   case P('a','l'):
   case P('a','L'): ONEARG; break;
-#if 0
   case P('R','C'):
     TWOARGS;
-    /* Does not really make sense - ROA check resuls may change anyway */
+    /* Does not really make sense - ROA check results may change anyway */
     if (strcmp(((struct f_inst_roa_check *) f1)->rtc->name,
               ((struct f_inst_roa_check *) f2)->rtc->name))
       return 0;
     break;
-#endif
   default:
     bug( "Unknown instruction %d in same (%c)", f1->code, f1->code & 0xff);
   }