Re: bgpd show proper info in Adj-RIB-Out

2021-06-16 Thread Claudio Jeker
On Tue, Jun 15, 2021 at 06:14:38PM +0200, Claudio Jeker wrote: > The Adj-RIB-Out should show what is sent to the peer. bgpd did not fully > do that since it adjusted the ASPATH and the nexthop afterwards when > building the actual UPDATE. > > This diff changes that and moves the ASPATH prepend for

bgpd show proper info in Adj-RIB-Out

2021-06-15 Thread Claudio Jeker
The Adj-RIB-Out should show what is sent to the peer. bgpd did not fully do that since it adjusted the ASPATH and the nexthop afterwards when building the actual UPDATE. This diff changes that and moves the ASPATH prepend for ebgp sessions and the selection of the nexthop. Thanks to this the outpu