diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-06-15 11:56:00 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-11-15 00:11:29 +0100 |
commit | 3bb1fc3f27000cf84233c7afb1fa9f1f5115b8db (patch) | |
tree | d10de706efe2c52bf74c8fbbf1e76c685ed956f7 /proto/wireguard/wireguard.h | |
parent | 9cbf92b45d94725da9bb89880f58273b246cc54a (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.h | 1 |
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; }; |