Add option for custom wireguard reserved bytes

This commit is contained in:
世界 committed 2022-10-28 09:53:57 +08:00
1 parent d583b35717
commit 35886b88d7
3 files changed
+22 -2

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ type WireGuardOutboundOptions struct {
PrivateKey string `json:"private_key"`
PeerPublicKey string `json:"peer_public_key"`
PreSharedKey string `json:"pre_shared_key,omitempty"`
Reserved []uint8 `json:"reserved,omitempty"`
MTU uint32 `json:"mtu,omitempty"`
Network NetworkList `json:"network,omitempty"`
}