summaryrefslogtreecommitdiff
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-09-13 18:06:16 +0200
commit7f154ef28dba44884bffded9499f1d9016bb09f9 (patch)
treeb4902a93c3f21310a65ccd84303958409e23be0b
parent148526d57cb91ca810e55e5f9d4f4329417e96eb (diff)
Android: Fixes
-rw-r--r--nest/bfd.h1
-rw-r--r--proto/wireguard/wireguard.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/nest/bfd.h b/nest/bfd.h
index 36add991..a7daa7f1 100644
--- a/nest/bfd.h
+++ b/nest/bfd.h
@@ -7,6 +7,7 @@
#ifndef _BIRD_NBFD_H_
#define _BIRD_NBFD_H_
+#include "conf/conf.h"
#include "lib/lists.h"
#include "lib/resource.h"
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 */
}
}