diff options
| author | Naveen Thanikachalam <nthanikachal@vmware.com> | 2019-05-15 00:09:08 -0700 | 
|---|---|---|
| committer | Naveen Thanikachalam <nthanikachal@vmware.com> | 2019-05-31 10:05:19 -0700 | 
| commit | e2c8d6ce90a597d7d0ac9149b618f9eef83bf73c (patch) | |
| tree | 2c5121acddf36435f317d11a06ac126f54f413a4 /eigrpd/eigrp_routemap.c | |
| parent | 9c61cec7e3847a4b9841c7914d57c93e3387929a (diff) | |
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.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_routemap.c b/eigrpd/eigrp_routemap.c index 60323dcd04..961556d432 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");  | 
