summaryrefslogtreecommitdiffstats
path: root/lib/libsndio/sio.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-02-01 01:33:44 +0000
committerkrw <krw@openbsd.org>2013-02-01 01:33:44 +0000
commit9ada486f2f237b4eb73a7ee087e2f4cafd1cd5c4 (patch)
tree328dab7ce02ed0ff13604461168a43f32747e578 /lib/libsndio/sio.c
parentDSO'r'us (diff)
downloadwireguard-openbsd-9ada486f2f237b4eb73a7ee087e2f4cafd1cd5c4.tar.xz
wireguard-openbsd-9ada486f2f237b4eb73a7ee087e2f4cafd1cd5c4.zip
Write out resolv.conf only if the default route is under the control
of the process binding the lease. Re-check the default route whenever a routing message arrives that might mean the default route has changed, and write out resolv.conf if appropriate. Reduces the chances that the name servers in resolv.conf are unreachable. Problem most eloquently explained, and solution suggested by beck@.
Diffstat (limited to 'lib/libsndio/sio.c')
0 files changed, 0 insertions, 0 deletions