Skip to content

Commit

Permalink
wireguard: fix listenPort
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidb committed Jul 17, 2017
1 parent 11ada20 commit a93e3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/wireguard.nix
Expand Up @@ -192,7 +192,7 @@ let
) values.ips)

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

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

0 comments on commit a93e3a9

Please sign in to comment.