diff options
author | 2019-06-07 09:45:48 +0000 | |
---|---|---|
committer | 2019-06-07 09:45:48 +0000 | |
commit | 8d607f7fa31e496c753540dc560b32e032e770b5 (patch) | |
tree | dfa93db452534a688b93f2350efbbf97d73a13ef /sys/dev/usb/files.usb | |
parent | Switch to v02 api url. (diff) | |
download | wireguard-openbsd-8d607f7fa31e496c753540dc560b32e032e770b5.tar.xz wireguard-openbsd-8d607f7fa31e496c753540dc560b32e032e770b5.zip |
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@
Diffstat (limited to 'sys/dev/usb/files.usb')
0 files changed, 0 insertions, 0 deletions