Skip to content

Commit a93e3a9

Browse files
committedJul 17, 2017
wireguard: fix listenPort
1 parent 11ada20 commit a93e3a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nixos/modules/services/networking/wireguard.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ let
192192
) values.ips)
193193

194194
("${wgCommand} set ${name} private-key ${privKey}" +
195-
optionalString (values.listenPort != null) " listen-port ${values.listenPort}")
195+
optionalString (values.listenPort != null) " listen-port ${toString values.listenPort}")
196196

197197
(map (peer:
198198
assert (peer.presharedKeyFile == null) || (peer.presharedKey == null); # at most one of the two must be set

0 commit comments

Comments
 (0)
Please sign in to comment.