summaryrefslogtreecommitdiff
path: root/modules/yggdrasil-wg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/yggdrasil-wg/default.nix')
-rw-r--r--modules/yggdrasil-wg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix
index ca683aad..a09b1d99 100644
--- a/modules/yggdrasil-wg/default.nix
+++ b/modules/yggdrasil-wg/default.nix
@@ -150,7 +150,7 @@ in {
150 address = [wgHostIPs.${hostName}]; 150 address = [wgHostIPs.${hostName}];
151 routes = [ 151 routes = [
152 { routeConfig = { 152 { routeConfig = {
153 Destination = "${wgSubnet}/${toString wgSubnetLength}"; 153 Destination = "${wgSubnet}::/${toString wgSubnetLength}";
154 }; 154 };
155 } 155 }
156 ]; 156 ];
@@ -169,7 +169,7 @@ in {
169 address = batHostIPs.${hostName}; 169 address = batHostIPs.${hostName};
170 routes = [ 170 routes = [
171 { routeConfig = { 171 { routeConfig = {
172 Destination = "${batSubnet}/${toString batSubnetLength}"; 172 Destination = "${batSubnet}::/${toString batSubnetLength}";
173 }; 173 };
174 } 174 }
175 ]; 175 ];