summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_asbr.c
diff options
context:
space:
mode:
authorvdhingra <vdhingra@vmware.com>2019-08-27 12:45:54 +0200
committervdhingra <vdhingra@vmware.com>2019-09-15 14:45:27 +0200
commit909f3d56aef817208942635fc843b148edb5f38e (patch)
tree2c7cab8da59fd02a4dc3c4cbb698a0ed06082760 /ospf6d/ospf6_asbr.c
parentMerge pull request #4968 from rubenk/fix-surname (diff)
downloadfrr-909f3d56aef817208942635fc843b148edb5f38e.tar.xz
frr-909f3d56aef817208942635fc843b148edb5f38e.zip
lib: rmap dep table is not correct in case of exact-match clause
User pass the string match large-community 1 exact-match from CLI. Now route map lib has got the string as "1 exact-match". It passes the string to call back for compilation. BGP will parse this string and came to know that for "1" it has to do exact match. Routemap lib has to save "1" in it’s dependency table. Here routemap is saving this as a “1 exact-match” which is wrong. The solution is used the compiled data. Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r--ospf6d/ospf6_asbr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index 4d1c08508..7914412e8 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -1593,7 +1593,6 @@ static int route_map_command_status(struct vty *vty, enum rmap_compile_rets ret)
return CMD_WARNING_CONFIG_FAILED;
break;
case RMAP_COMPILE_SUCCESS:
- case RMAP_DUPLICATE_RULE:
break;
}