summaryrefslogtreecommitdiff
path: root/lib/nexthop.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-04-16 08:37:24 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-04-18 14:57:54 -0400
commitdd50eeb11501268003148b4d445be882db12823d (patch)
tree3eca316d1f6d4ad05c86ac62c31645a81e3d3be0 /lib/nexthop.h
parent99eabcec1aab693ccc56dbda823f3b4571e484c9 (diff)
lib, zebra: Remove unused flag
The NEXTHOP_FLAG_FILTERED went away when we started treating static routes like every other route in the system. This was a special case for handling static route code that just didn't get finished cleaning up. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 24b0953191..ad87c2e522 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -81,8 +81,7 @@ struct nexthop {
#define NEXTHOP_FLAG_RECURSIVE (1 << 2) /* Recursive nexthop. */
#define NEXTHOP_FLAG_ONLINK (1 << 3) /* Nexthop should be installed onlink. */
#define NEXTHOP_FLAG_MATCHED (1 << 4) /* Already matched vs a nexthop */
-#define NEXTHOP_FLAG_FILTERED (1 << 5) /* rmap filtered, used by static only */
-#define NEXTHOP_FLAG_DUPLICATE (1 << 6) /* nexthop duplicates another active one */
+#define NEXTHOP_FLAG_DUPLICATE (1 << 5) /* nexthop duplicates another active one */
#define NEXTHOP_IS_ACTIVE(flags) \
(CHECK_FLAG(flags, NEXTHOP_FLAG_ACTIVE) \
&& !CHECK_FLAG(flags, NEXTHOP_FLAG_DUPLICATE))