CVSROOT:        /cvs
Module name:    src
Changes by:     clau...@cvs.openbsd.org 2020/02/12 03:33:56

Modified files:
        usr.sbin/bgpd  : bgpd.h rde.c rde_peer.c session.c session.h 
                         util.c 

Log message:
Move the code to figure out the alternate IP address (IPv6 addr for IPv4
sessions and vice versa) from the RDE to the SE. The SE is the right place
for this since there getsockname(2) fetches the local address and so the
alternate one can be fetched there as well.
With this the route pledge is no longer needed in the RDE and the pledge
is now just "stdio recvfd".
OK benno@

Reply via email to