diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-02-11 11:14:37 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2020-02-11 15:56:35 -0500 |
| commit | 0641a955d7fe5a8f4d088deb32ad2206de6afb88 (patch) | |
| tree | 1b915557ad0bf0b15a97fbcdf9eefe0b2f8cc9e5 /lib/nexthop.h | |
| parent | 03ed0334e831da9b57c02f590b48cb03caecfb6a (diff) | |
lib,zebra: remove unused MATCHED nexthop flag
Remove an unused flag value from the nexthop struct.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/nexthop.h')
| -rw-r--r-- | lib/nexthop.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h index cb5efe00cc..6710914e40 100644 --- a/lib/nexthop.h +++ b/lib/nexthop.h @@ -79,10 +79,13 @@ struct nexthop { #define NEXTHOP_FLAG_ACTIVE (1 << 0) /* This nexthop is alive. */ #define NEXTHOP_FLAG_FIB (1 << 1) /* FIB 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_DUPLICATE (1 << 5) /* nexthop duplicates another active one */ -#define NEXTHOP_FLAG_RNH_FILTERED (1 << 6) /* rmap filtered, used by rnh */ +#define NEXTHOP_FLAG_ONLINK (1 << 3) /* Nexthop should be installed + * onlink. + */ +#define NEXTHOP_FLAG_DUPLICATE (1 << 4) /* nexthop duplicates another + * active one + */ +#define NEXTHOP_FLAG_RNH_FILTERED (1 << 5) /* rmap filtered, used by rnh */ #define NEXTHOP_IS_ACTIVE(flags) \ (CHECK_FLAG(flags, NEXTHOP_FLAG_ACTIVE) \ && !CHECK_FLAG(flags, NEXTHOP_FLAG_DUPLICATE)) |
