]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg-quick: android: use iproute2 to bring up interface instead of ndc
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 25 Aug 2020 19:54:22 +0000 (21:54 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 25 Aug 2020 19:54:22 +0000 (21:54 +0200)
commit9a0d65e2afbd6e418c883e0de8555b4fac29f1d5
treecb53dba886fa5341e82187e39bd321b23b9c219a
parentfbca033c69d7073033e05507293e5101d29b43ef
wg-quick: android: use iproute2 to bring up interface instead of ndc

Android 11's ndc regresses even more, but it turns out that netd doesn't
need to track up/down state via direct invocation, so just set the
interface up by way of normal iproute2.

Reported-by: Harsh Shandilya <me@msfjarvis.dev>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/android.c