diff options
| author | G. Paul Ziemba <paulz@labn.net> | 2018-04-21 20:04:29 -0700 |
|---|---|---|
| committer | G. Paul Ziemba <paulz@labn.net> | 2018-04-21 20:05:16 -0700 |
| commit | d6632478a4b47dc2aaca473a91c2168e9a29a9a0 (patch) | |
| tree | 70c43427dde16ecba4e9857874720fdadbc885d6 /lib/stream.c | |
| parent | 8aeee10fe217316ca3cdb6423169b2efc413762a (diff) | |
bgpd: bugfix: vpn-vrf leak: set origin bgp to origin vrf for vrf-vpn-vrf
bgp route extra->bgp_orig for routes leaked vpn->vrf should be set
to original extra->bgp_orig if it is set, not vpn's bgp instance.
The initial leak is OK because it goes through a loopback path
in the vrf->vpn leaking code, but it is possible later re-leaks (e.g.,
if the destination vrf's leak configuration is changed) could
set the wrong extra->bgp_orig and break the route's nexthop.
Signed-off-by: G. Paul Ziemba <paulz@labn.net>
Diffstat (limited to 'lib/stream.c')
0 files changed, 0 insertions, 0 deletions
