]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: fix wrong event called when removing a set rule
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 28 Sep 2023 15:41:27 +0000 (17:41 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 21 Nov 2023 17:10:38 +0000 (18:10 +0100)
commit7243e9daa42d27e6426e9d9ca5ae86ba8a0cc5f6
treeeee101c68a3bf156f5450eeed88aca1fb18c7ce9
parent77ff93b8f5f714880dfe56ff01a57870fd2ed8b6
bgpd: fix wrong event called when removing a set rule

The following route-map set rules events are destroyed with
the 'match_destroy' API whereas there is a 'set_destroy' API
available.
Fix this for the following set commands:
> set distance
> set extcommunity rt
> set extcommunity nt
> set extcommunity color
> set extcommunity soo

Fixes: 48cb7ea99d10 ("bgpd: North-bound implementation for bgp rmaps")
Fixes: c9a256144479 ("bgpd: Implement Node Target Extended Communities")
Fixes: b80ebc2d8cf0 ("bgpd: add colored extended communities support")
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_routemap_nb_config.c