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>2020-05-08 18:52:55 +0200
commit83a043f7db16b0143ae01eee043bdaca86308383 (patch)
treed7a9ca8d2177b82a98861a3511492da2b2fbc340
parent410f1990d8f9bd16ac6bc9631f4c606f22605c81 (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 4f006d1e..76333fb5 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)
{