]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Drop unused route-map types
authorDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 2 Sep 2024 12:32:00 +0000 (15:32 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Mon, 2 Sep 2024 12:32:00 +0000 (15:32 +0300)
commit4788206b16e103553a7f3201ffc66103569d4e80
tree98ce5b08f3df20310f5db5e69898cfc5ad6bea1a
parent745cd3e6bf298da16379088e138e33aeb0ee8f52
bgpd: Drop unused route-map types

When applying the route-map, we always set rmap_type to know who triggered
this action. PEER_RMAP_TYPE_IMPORT/EXPORT was used as a dead-code, and
PEER_RMAP_TYPE_NOSET not used at all.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_routemap.c
bgpd/bgpd.h