diff options
author | Naveen Thanikachalam <nthanikachal@vmware.com> | 2019-05-15 09:09:08 +0200 |
---|---|---|
committer | Naveen Thanikachalam <nthanikachal@vmware.com> | 2019-05-31 19:05:19 +0200 |
commit | e2c8d6ce90a597d7d0ac9149b618f9eef83bf73c (patch) | |
tree | 2c5121acddf36435f317d11a06ac126f54f413a4 /zebra/zebra_routemap.c | |
parent | Merge pull request #4315 from lkrishnamoor/route_map_3rd_state (diff) | |
download | frr-e2c8d6ce90a597d7d0ac9149b618f9eef83bf73c.tar.xz frr-e2c8d6ce90a597d7d0ac9149b618f9eef83bf73c.zip |
lib: Changes made to dependencies of a r-map do not take effect.
Say, more than one sequence of a route-map uses the same named entity
in its match clause. After that entity is removed from any one of the
route-map sequences, any further changes made to that entity doesn't
dynamically take effect.
A reference counter, that allows the named entity to keep a count of
the route-maps dependent on it, has been introduced to address this issue.
Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
Diffstat (limited to 'zebra/zebra_routemap.c')
-rw-r--r-- | zebra/zebra_routemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c index 51a644178..78804635f 100644 --- a/zebra/zebra_routemap.c +++ b/zebra/zebra_routemap.c @@ -67,7 +67,7 @@ static int zebra_route_match_add(struct vty *vty, const char *command, int ret; int retval = CMD_SUCCESS; - ret = route_map_add_match(index, command, arg); + ret = route_map_add_match(index, command, arg, type); switch (ret) { case RMAP_RULE_MISSING: vty_out(vty, "%% Zebra Can't find rule.\n"); |