diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-22 03:49:03 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-29 18:43:23 +0200 |
commit | 40ecd8e46da41b5032707bd4fcbb8cc8890ded61 (patch) | |
tree | d308ce3a44e848a32c0986ad3ca305a96e06169a /lib/zebra.h | |
parent | staticd: Code review comments fixes (diff) | |
download | frr-40ecd8e46da41b5032707bd4fcbb8cc8890ded61.tar.xz frr-40ecd8e46da41b5032707bd4fcbb8cc8890ded61.zip |
lib, zebra: Allow protocols to use Distance as part of RR semantics
Allow protocols to specify to zebra that they would like zebra
to use the distance passed down as part of determine sameness for
Route Replace semantics.
This will be used by the static daemon to allow it to have
backup static routes with greater distances.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index 98428eaab..edae75207 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -414,6 +414,7 @@ extern const char *zserv_command_string(unsigned int command); #define ZEBRA_FLAG_SCOPE_LINK 0x100 #define ZEBRA_FLAG_FIB_OVERRIDE 0x200 #define ZEBRA_FLAG_EVPN_ROUTE 0x400 +#define ZEBRA_FLAG_RR_USE_DISTANCE 0x800 /* ZEBRA_FLAG_BLACKHOLE was 0x04 */ /* ZEBRA_FLAG_REJECT was 0x80 */ |