diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-04-13 22:41:08 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-01-12 23:34:24 +0100 |
commit | bd0b35d5fda6bd335efbebdc97974e935921bc5d (patch) | |
tree | fa738e81f2c205478d417b498f09f93b0f9392f6 /proto/wireguard/wireguard.c | |
parent | 23df106308a23fa72ce0ba979d9d5cb75382393d (diff) |
Android: Fixes
Diffstat (limited to 'proto/wireguard/wireguard.c')
-rw-r--r-- | proto/wireguard/wireguard.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/proto/wireguard/wireguard.c b/proto/wireguard/wireguard.c index 4e7abe88..cbedac6f 100644 --- a/proto/wireguard/wireguard.c +++ b/proto/wireguard/wireguard.c @@ -151,8 +151,10 @@ wg_if_notify(struct proto *P, unsigned flags, struct iface *i) { DBG("WG: IF_CHANGE_UP %s\n", i->name); +#ifdef ANDROID int res = set_device(p); WG_TRACE(D_EVENTS, "WG: wg_set_device %d", res); +#endif /* ANDROID */ } } |