summaryrefslogtreecommitdiffstats
path: root/nhrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-02-27 03:26:33 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-02-27 03:26:33 +0100
commit4e8b02f4df5d6bcfde6390955b8feda2a17dc9bd (patch)
treeaf1543677942353c8bcbfed69719789616848311 /nhrpd
parentMerge pull request #1764 from Orange-OpenSource/SR-dev (diff)
downloadfrr-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 'nhrpd')
-rw-r--r--nhrpd/nhrp_route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_route.c b/nhrpd/nhrp_route.c
index d43aa4929..8178a8b4b 100644
--- a/nhrpd/nhrp_route.c
+++ b/nhrpd/nhrp_route.c
@@ -114,7 +114,7 @@ void nhrp_route_announce(int add, enum nhrp_cache_type type, const struct prefix
SET_FLAG(api.flags, ZEBRA_FLAG_FIB_OVERRIDE);
break;
}
- SET_FLAG(api.flags, ZEBRA_FLAG_INTERNAL);
+ SET_FLAG(api.flags, ZEBRA_FLAG_ALLOW_RECURSION);
SET_FLAG(api.message, ZAPI_MESSAGE_NEXTHOP);
api.nexthop_num = 1;