summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_routemap.c
diff options
context:
space:
mode:
authorNaveen Thanikachalam <nthanikachal@vmware.com>2019-05-15 09:09:08 +0200
committerNaveen Thanikachalam <nthanikachal@vmware.com>2019-05-31 19:05:19 +0200
commite2c8d6ce90a597d7d0ac9149b618f9eef83bf73c (patch)
tree2c5121acddf36435f317d11a06ac126f54f413a4 /eigrpd/eigrp_routemap.c
parentMerge pull request #4315 from lkrishnamoor/route_map_3rd_state (diff)
downloadfrr-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 'eigrpd/eigrp_routemap.c')
-rw-r--r--eigrpd/eigrp_routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c
index 60323dcd0..961556d43 100644
--- a/eigrpd/eigrp_routemap.c
+++ b/eigrpd/eigrp_routemap.c
@@ -136,7 +136,7 @@ static int eigrp_route_match_add(struct vty *vty, struct route_map_index *index,
const char *command, const char *arg)
{
int ret;
- 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, "%% Can't find rule.\n");