summaryrefslogtreecommitdiff
path: root/proto/wireguard/wireguard.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-06-15 11:56:00 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2019-11-15 00:11:29 +0100
commit3bb1fc3f27000cf84233c7afb1fa9f1f5115b8db (patch)
treed10de706efe2c52bf74c8fbbf1e76c685ed956f7 /proto/wireguard/wireguard.h
parent9cbf92b45d94725da9bb89880f58273b246cc54a (diff)
Wireguard: Add tunnel_type config parameter
Use 51820 (default wireguard port) as default tunnel type.
Diffstat (limited to 'proto/wireguard/wireguard.h')
-rw-r--r--proto/wireguard/wireguard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/wireguard/wireguard.h b/proto/wireguard/wireguard.h
index 69345953..c2f780ca 100644
--- a/proto/wireguard/wireguard.h
+++ b/proto/wireguard/wireguard.h
@@ -18,6 +18,7 @@ struct wg_config {
const char *ifname;
const char *socket_path;
const char *private_key;
+ u16 tunnel_type;
u16 listen_port;
list peers;
};