diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-27 03:26:33 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-02-27 03:26:33 +0100 |
commit | 4e8b02f4df5d6bcfde6390955b8feda2a17dc9bd (patch) | |
tree | af1543677942353c8bcbfed69719789616848311 /lib/zebra.h | |
parent | Merge pull request #1764 from Orange-OpenSource/SR-dev (diff) | |
download | frr-4e8b02f4df5d6bcfde6390955b8feda2a17dc9bd.tar.xz frr-4e8b02f4df5d6bcfde6390955b8feda2a17dc9bd.zip |
*: Rename ZEBRA_FLAG_INTERNAL -> ZEBRA_FLAG_ALLOW_RECURSION
The ZEBRA_FLAG_INTERNAL flag is used to signal to zebra that
the route being added, the nexthops for it can be recursively
resolved. This name keeps throwing me off when I read it
so let's rename to something that allows the developer to
understand what is going on.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/zebra.h')
-rw-r--r-- | lib/zebra.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index b9a795d16..11bf764b6 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -402,7 +402,7 @@ extern const char *zserv_command_string(unsigned int command); #define strmatch(a,b) (!strcmp((a), (b))) /* Zebra message flags */ -#define ZEBRA_FLAG_INTERNAL 0x01 +#define ZEBRA_FLAG_ALLOW_RECURSION 0x01 #define ZEBRA_FLAG_SELFROUTE 0x02 #define ZEBRA_FLAG_IBGP 0x08 #define ZEBRA_FLAG_SELECTED 0x10 |