]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: flowspec redirect vrf uses vrf table instead of allocated table id 9164/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 26 Mar 2021 09:48:38 +0000 (10:48 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Sun, 1 Aug 2021 12:38:13 +0000 (14:38 +0200)
commit7afeaffa1276b824a321b0f81c7b6780ff56f503
tree9091edddbd725ab84823c9736fa8860a3f5ad914
parenta76301c11c10bc87ff14d954bab21bca8679fad9
bgpd: flowspec redirect vrf uses vrf table instead of allocated table id

Until now, when bgp flowspec entry action was to redirect to a vrf, a
default route was installed in a specific table. that route was a vrf
route leak one. The process can be simplified, as vrf-lite already
has a table identifier. Actually, because policy routing is used to
redirect traffic to a defined table (with ip rule command), use
the table identifier of the VRF.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_pbr.c
bgpd/bgp_zebra.c