CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2019/06/07 03:45:48
Modified files: usr.sbin/bgpd : rde_update.c bgpd.conf.5 Log message: Refactor up_get_nexthop() to work for all AFI/SAFI cases. Additionally clean up the possible nexthop overrides to better match the RFC. - set nexthop self is still overriding all other decisions - set nexthop no-modify has only relevance for ebgp multihop links Instead of using the router locall address the nexthop is passed unmodified - set nexthop <address> depends on BGP session type * for IBGP sessions the address will be used unless it is the same as the remote peers address * for directly connected EBGP sessions the address is only used if the IP is part of the connected network (no matter what other flags are used). * for multihop EBGP sessions it depends if no-modify was also set Adjust manual page to explain this properly. "probably OK" job@