Skip to content

Commit 7518284

Browse files
authored
Merge pull request #19217 from FRRouting/mergify/bp/stable/10.0/pr-19127
lib: fix routemap crash (backport #19127)
2 parents fad3886 + ee66a7d commit 7518284

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/routemap.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2438,8 +2438,7 @@ static void route_map_pentry_process_dependency(struct hash_bucket *bucket,
24382438
continue;
24392439

24402440
for (match = match_list->head; match; match = match->next) {
2441-
if (strcmp(match->rule_str, pentry_dep->plist_name)
2442-
== 0) {
2441+
if (rulecmp(match->rule_str, pentry_dep->plist_name) == 0) {
24432442
if (IS_RULE_IPv4_PREFIX_LIST(match->cmd->str)
24442443
&& family == AF_INET) {
24452444
route_map_pentry_update(

0 commit comments

Comments
 (0)