3
0
Fork 0
forked from mirrors/nixpkgs

wireguard: fix function for adding routes

This commit is contained in:
Joerg Thalheim 2017-09-25 20:39:37 +01:00
parent 74c3cdd893
commit 194c4002b6

View file

@ -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)