Skip to content

Commit a42b89d

Browse files
authored
fix: use correct subnet mask for Wireguard client configs (#354)
Signed-off-by: Aurora Gaffney <aurora@blinklabs.io>
1 parent b84901f commit a42b89d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/api/wireguard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (r *WGBaseRequest) parseBaseFields() error {
132132
// WireGuard config template
133133
const wgConfigTemplate = `[Interface]
134134
PrivateKey = <REPLACE_WITH_YOUR_PRIVATE_KEY>
135-
Address = %s/32
135+
Address = %s/24
136136
DNS = %s
137137
138138
[Peer]

0 commit comments

Comments
 (0)