aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorNicolas Douma <nicolas@serveur.io>2019-10-02 21:03:42 +0200
committerNicolas Douma <nicolas@serveur.io>2019-10-02 22:35:32 +0200
commit2008a512b8765b5167ea9b963a9e50b91654f025 (patch)
tree12a9d36a1a0c5ff20282e56054bd03c21280fe2f
parentnetlink: allow preventing creation of new peers when updating (diff)
downloadwireguard-monolithic-historical-2008a512b8765b5167ea9b963a9e50b91654f025.tar.xz
wireguard-monolithic-historical-2008a512b8765b5167ea9b963a9e50b91654f025.zip
wg-quick: android: add addresses after bringing interface up
Signed-off-by: Nicolas Douma <nicolas@serveur.io>
-rw-r--r--src/tools/wg-quick/android.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/wg-quick/android.c b/src/tools/wg-quick/android.c
index e8ea4b4..880fa1f 100644
--- a/src/tools/wg-quick/android.c
+++ b/src/tools/wg-quick/android.c
@@ -662,8 +662,8 @@ static void cmd_up(const char *iface, const char *config, unsigned int mtu, cons
add_if(iface);
set_config(iface, config);
listen_port = determine_listen_port(iface);
- set_addr(iface, addrs);
up_if(&netid, iface, listen_port);
+ set_addr(iface, addrs);
set_dnses(netid, dnses);
set_routes(iface, netid);
set_mtu(iface, mtu);