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>2021-01-12 23:34:17 +0100
commit27131165ba2c919bbd619eee9c41f1860b4b9d45 (patch)
treedfdb43ebc69d550bf82d810b6b0c928a54e819ec /proto/wireguard/wireguard.h
parent9856e23c3e39805fd56740aefc800b2a40c34ef7 (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;
};