Skip to content

Commit

Permalink
wireguard: fix function for adding routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Sep 25, 2017
1 parent 74c3cdd commit 194c400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/networking/wireguard.nix
Expand Up @@ -225,7 +225,7 @@ let

"${ipCommand} link set up dev ${name}"

(lib.optional (values.allowedIPsAsRoutes != false) (map (peer:
(optionals (values.allowedIPsAsRoutes != false) (map (peer:
(map (allowedIP:
"${ipCommand} route replace ${allowedIP} dev ${name} table ${values.table}"
) peer.allowedIPs)
Expand Down

0 comments on commit 194c400

Please sign in to comment.