]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg-quick: darwin: set DNS servers after delay on route change
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 29 May 2018 23:37:57 +0000 (01:37 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 30 May 2018 23:24:51 +0000 (01:24 +0200)
commit206e8f08e2413d1b1dfc5724bc9567f9f0ace310
tree89aec171f82b5b2279a309596797ae054ad6f416
parentd532074ef5e80268a9529002ca7f233eb2730ff6
wg-quick: darwin: set DNS servers after delay on route change

This works around a race condition in macOS's network daemons, while
also adding one in the form of possibly calling kill -ALRM on a stale
PID; unfortunately bash can't wait from a trap.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/darwin.bash