]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix segfault when re-adding "match evpn default-route" rule
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 12 Aug 2021 16:07:53 +0000 (19:07 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 12 Aug 2021 16:08:46 +0000 (19:08 +0300)
commit30475121ad590f8e44ebb2601776ae94df976069
treeddc58702518cbcc822404aee862c59da32828d12
parent45965189819eb0f69cfcfb4307d5116bebd14db0
bgpd: fix segfault when re-adding "match evpn default-route" rule

When using "match evpn default-route" rule, match_arg is NULL and strcmp
is not happy with that. There's already a special function named rulecmp
that handles such situations.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/routemap.c