summary refs log tree commit diff
path: root/nixos/tests/containers-bridge.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/containers-bridge.nix')
-rw-r--r--nixos/tests/containers-bridge.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/containers-bridge.nix b/nixos/tests/containers-bridge.nix
index b8d4759684c..dfef46a2ada 100644
--- a/nixos/tests/containers-bridge.nix
+++ b/nixos/tests/containers-bridge.nix
@@ -26,8 +26,8 @@ import ./make-test.nix ({ pkgs, ...} : {
       };
       networking.interfaces = {
         br0 = {
-          ip4 = [{ address = hostIp; prefixLength = 24; }];
-          ip6 = [{ address = hostIp6; prefixLength = 7; }];
+          ipv4.addresses = [{ address = hostIp; prefixLength = 24; }];
+          ipv6.addresses = [{ address = hostIp6; prefixLength = 7; }];
         };
       };