summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-10-13 09:59:37 +0000
committermpi <mpi@openbsd.org>2015-10-13 09:59:37 +0000
commit1a08736a8d922a124ad45d1e9f928525907acc8b (patch)
treecd2454575a44812cc11d026bcfd5f6819b9529e4 /sys/netinet/ip_output.c
parentInitialize va_filerev in vattr_null() to avoid leaking stack garbage; (diff)
downloadwireguard-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