summaryrefslogtreecommitdiff
path: root/proto/wireguard
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-04-13 22:41:08 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-08 21:40:34 +0200
commitccf13f91a2883fe1423499787fa03dd561dfed4d (patch)
tree413c626702caa83017cc09720eef5e0914e302bc /proto/wireguard
parente0cb9c65b837ad5d725761505049755db0112b1c (diff)
android fixes
Diffstat (limited to 'proto/wireguard')
-rw-r--r--proto/wireguard/wireguard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/wireguard/wireguard.c b/proto/wireguard/wireguard.c
index 92b1171b..9129e224 100644
--- a/proto/wireguard/wireguard.c
+++ b/proto/wireguard/wireguard.c
@@ -149,8 +149,8 @@ wg_if_notify(struct proto *P, unsigned flags, struct iface *i)
{
DBG("WG: IF_CHANGE_UP %s\n", i->name);
- int res = set_device(p);
- WG_TRACE(D_EVENTS, "WG: wg_set_device %d", res);
+ /* int res = set_device(p); */
+ /* WG_TRACE(D_EVENTS, "WG: wg_set_device %d", res); */
}
}
@@ -738,6 +738,7 @@ wg_shutdown(struct proto *P)
struct wg_proto *p = (struct wg_proto*)P;
wg_device *dev = NULL;
+ og_msg(L_INFO "wg_shutdown");
WG_TRACE(D_EVENTS, "WG: wg_shutdown");
if (get_device(p, &p->dev, cf->ifname) >= 0)
{