summary refs log tree commit diff
path: root/nixos/tests/nat.nix
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2014-08-31 09:46:16 -0700
committerWilliam A. Kennington III <william@wkennington.com>2014-08-31 09:46:16 -0700
commit3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb (patch)
tree39f7a63253ae764835780f6305cf8bc5d8b109bc /nixos/tests/nat.nix
parent45c4e4d04adb79e21819d124b0156ac81ea3f760 (diff)
downloadnixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.tar
nixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.tar.gz
nixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.tar.bz2
nixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.tar.lz
nixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.tar.xz
nixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.tar.zst
nixpkgs-3d037ebb94f7c28dc7019a3332bf5d27f2cd9ebb.zip
Revert "Revert "Merge pull request #3182 from wkennington/master.ipv6""
This reverts commit ea8910652fcecbcd4f21aa1c66b1a0a239408b04.
Diffstat (limited to 'nixos/tests/nat.nix')
-rw-r--r--nixos/tests/nat.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nat.nix b/nixos/tests/nat.nix
index 5fdcc0e97ca..5a57cce6b67 100644
--- a/nixos/tests/nat.nix
+++ b/nixos/tests/nat.nix
@@ -13,7 +13,7 @@ import ./make-test.nix {
         { virtualisation.vlans = [ 1 ];
           networking.firewall.allowPing = true;
           networking.defaultGateway =
-            nodes.router.config.networking.interfaces.eth2.ipAddress;
+            (head nodes.router.config.networking.interfaces.eth2.ip4).address;
         };
 
       router =