summaryrefslogtreecommitdiff
path: root/lib/routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 5d45dc1047..594dcf97cb 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -1431,7 +1431,7 @@ enum rmap_compile_rets route_map_add_match(struct route_map_index *index,
* the same as the existing configuration then,
* ignore the duplicate configuration.
*/
- if (strcmp(match_arg, rule->rule_str) == 0) {
+ if (rulecmp(match_arg, rule->rule_str) == 0) {
if (cmd->func_free)
(*cmd->func_free)(compile);