diff options
| author | Ghasem Naddaf <ghasem.naddaf@gmail.com> | 2020-03-11 09:50:54 -0700 |
|---|---|---|
| committer | Ghasem Naddaf <ghasem.naddaf@gmail.com> | 2020-03-11 09:50:54 -0700 |
| commit | 31384f929ad817f5a6459feeb6f27ff292b35e2f (patch) | |
| tree | 9072ac9757649e446f8018f44379c8068e1bfa23 /lib/routemap.c | |
| parent | 912c556b3a0354f37328f52108777e434307e339 (diff) | |
| parent | 4a652d922754bfb9e4216347cfc6ea59d068b800 (diff) | |
Merge branch 'master' into nhrp_bugfix
Diffstat (limited to 'lib/routemap.c')
| -rw-r--r-- | lib/routemap.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 54b5383173..e2baa36f24 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -2257,7 +2257,7 @@ static void route_map_pentry_update(route_map_event_t event, } } -static void route_map_pentry_process_dependency(struct hash_backet *backet, +static void route_map_pentry_process_dependency(struct hash_bucket *backet, void *data) { char *rmap_name = NULL; @@ -2447,7 +2447,7 @@ route_map_result_t route_map_apply(struct route_map *map, } for (; index; index = index->next) { - if (skip_match_clause == false) { + if (!skip_match_clause) { /* Apply this index. */ match_ret = route_map_apply_match(&index->match_list, prefix, type, object); @@ -2684,8 +2684,7 @@ static void route_map_print_dependency(struct hash_bucket *bucket, void *data) char *rmap_name = dep_data->rname; char *dep_name = data; - zlog_debug("%s: Dependency for %s: %s", __FUNCTION__, dep_name, - rmap_name); + zlog_debug("%s: Dependency for %s: %s", __func__, dep_name, rmap_name); } static int route_map_dep_update(struct hash *dephash, const char *dep_name, |
