summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2020-12-29 11:07:12 -0500
committerGitHub <noreply@github.com>2020-12-29 11:07:12 -0500
commit19ff5340a1b65d13fdfc804260543feac863a7fd (patch)
tree022dfe131844f29f6ef16fd7988224c5a4d89065 /zebra/rib.h
parenta4525d25b5ff11c002aa012bc161bf831a032ed5 (diff)
parent2e8db20d7eefbbc45aa64c8f5d61be276184a69c (diff)
Merge pull request #7777 from volta-networks/fix_zebra_rib_c++
zebra: avoid c++ reserved keyword
Diffstat (limited to 'zebra/rib.h')
-rw-r--r--zebra/rib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rib.h b/zebra/rib.h
index c385d7326c..d653425f0d 100644
--- a/zebra/rib.h
+++ b/zebra/rib.h
@@ -343,8 +343,8 @@ int route_entry_update_nhe(struct route_entry *re,
struct nhg_hash_entry *new_nhghe);
/* NHG replace has happend, we have to update route_entry pointers to new one */
-void rib_handle_nhg_replace(struct nhg_hash_entry *old,
- struct nhg_hash_entry *new);
+void rib_handle_nhg_replace(struct nhg_hash_entry *old_entry,
+ struct nhg_hash_entry *new_entry);
#define route_entry_dump(prefix, src, re) _route_entry_dump(__func__, prefix, src, re)
extern void _route_entry_dump(const char *func, union prefixconstptr pp,