summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-09-23 17:28:59 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2021-01-12 23:34:17 +0100
commitd3bf043bf7aa5cac349d9472abad5246fce326f8 (patch)
treef9901a429e5dd4d85d458b178eb3c061b374b74b
parent371e2bc754492219d85321f4143d3276cf0851ab (diff)
Wireguard: Remove bgp include
-rw-r--r--proto/wireguard/wireguard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/proto/wireguard/wireguard.c b/proto/wireguard/wireguard.c
index 68643d50..37783838 100644
--- a/proto/wireguard/wireguard.c
+++ b/proto/wireguard/wireguard.c
@@ -13,10 +13,11 @@
#include "sysdep/linux/wireguard.h"
#include "sysdep/unix/unix.h"
#include "wireguard.h"
-#include "proto/bgp/bgp.h"
#define SOCKET_PATH PATH_RUNSTATEDIR "/wireguard/"
+#define BA_TUNNEL_ENCAP 0x17
+
static
char *get_socket_path(struct wg_proto *p, char *buf, uint size)
{