diff options
author | 2015-10-13 09:59:37 +0000 | |
---|---|---|
committer | 2015-10-13 09:59:37 +0000 | |
commit | 1a08736a8d922a124ad45d1e9f928525907acc8b (patch) | |
tree | cd2454575a44812cc11d026bcfd5f6819b9529e4 /sys/netinet/ip_output.c | |
parent | Initialize va_filerev in vattr_null() to avoid leaking stack garbage; (diff) | |
download | wireguard-openbsd-1a08736a8d922a124ad45d1e9f928525907acc8b.tar.xz wireguard-openbsd-1a08736a8d922a124ad45d1e9f928525907acc8b.zip |
Make sure RTF_LOCAL route entries are UP when added to the tree.
This is required to maintain the original BSD behavior of locally
configured addresses being always reacheable.
Some interfaces are^w^W^Wem(4) is special and generally has a DOWN
link state when configured by netstart(8). As a result all the
route entries cloned/added before its link state goes to UP are also
marked as DOWN.
Note that this problem was not present when local addresses were
attached to lo0.
ok mikeb@
Diffstat (limited to 'sys/netinet/ip_output.c')
0 files changed, 0 insertions, 0 deletions