diff options
| author | Russ White <russ@riw.us> | 2021-08-17 09:54:25 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-17 09:54:25 -0400 |
| commit | 55a3d3cef2400bfc722ce32f2ee9f58a0e5ff49c (patch) | |
| tree | 468d13b4ef4e305120112856aa8a1e086a7d5c16 /lib/routemap.c | |
| parent | 2b0b9c2d112252f769470fa32174b08e61ee26a6 (diff) | |
| parent | 30475121ad590f8e44ebb2601776ae94df976069 (diff) | |
Merge pull request #9385 from idryzhov/bgpd-match-evpn-default-route-crash
bgpd: fix segfault when re-adding "match evpn default-route" rule
Diffstat (limited to 'lib/routemap.c')
| -rw-r--r-- | lib/routemap.c | 2 |
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); |
