mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
wireguard: sometimes module tries to re-add the default route, which fails - use replace to make it succeed
This commit is contained in:
parent
26cf940da8
commit
63190540a8
@ -208,7 +208,7 @@ let
|
||||
"${ipCommand} link set up dev ${name}"
|
||||
|
||||
(map (peer: (map (ip:
|
||||
"${ipCommand} route add ${ip} dev ${name}"
|
||||
"${ipCommand} route replace ${ip} dev ${name}"
|
||||
) peer.allowedIPs)) values.peers)
|
||||
|
||||
values.postSetup
|
||||
|
Loading…
Reference in New Issue
Block a user