mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-09 18:26:10 +00:00
Merge pull request #9385 from idryzhov/bgpd-match-evpn-default-route-crash
bgpd: fix segfault when re-adding "match evpn default-route" rule
This commit is contained in:
commit
55a3d3cef2
@ -1431,7 +1431,7 @@ enum rmap_compile_rets route_map_add_match(struct route_map_index *index,
|
|||||||
* the same as the existing configuration then,
|
* the same as the existing configuration then,
|
||||||
* ignore the duplicate configuration.
|
* ignore the duplicate configuration.
|
||||||
*/
|
*/
|
||||||
if (strcmp(match_arg, rule->rule_str) == 0) {
|
if (rulecmp(match_arg, rule->rule_str) == 0) {
|
||||||
if (cmd->func_free)
|
if (cmd->func_free)
|
||||||
(*cmd->func_free)(compile);
|
(*cmd->func_free)(compile);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user