diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2019-06-15 11:56:00 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2021-01-12 23:34:17 +0100 |
commit | 27131165ba2c919bbd619eee9c41f1860b4b9d45 (patch) | |
tree | dfdb43ebc69d550bf82d810b6b0c928a54e819ec /proto/wireguard/wireguard.h | |
parent | 9856e23c3e39805fd56740aefc800b2a40c34ef7 (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; }; |