about summary refs log tree commit diff
path: root/nixos/tests/wireguard
diff options
context:
space:
mode:
authorSEIAROTg <seiarotg@gmail.com>2023-03-04 17:51:35 +0000
committerSEIAROTg <seiarotg@gmail.com>2023-03-04 18:51:12 +0000
commit5a4dc2128ecd469ea09415d8461ea0601e2b0500 (patch)
tree9d07d361d4dd5b0e1377afcc15e40d737c971324 /nixos/tests/wireguard
parent710635f625fec5967ec51e865e0e0c3173df324c (diff)
nixos/wireguard: fix mtu after switching netns.
mtu is set after switching netns and thus the new netns should be used.
Diffstat (limited to 'nixos/tests/wireguard')
-rw-r--r--nixos/tests/wireguard/namespaces.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/wireguard/namespaces.nix b/nixos/tests/wireguard/namespaces.nix
index 1790c45bb1f65..d0eb009e1107d 100644
--- a/nixos/tests/wireguard/namespaces.nix
+++ b/nixos/tests/wireguard/namespaces.nix
@@ -39,6 +39,7 @@ import ../make-test-python.nix ({ pkgs, lib, kernelPackages ? null, ... } : {
         preSetup = ''
           ip netns add ${interfaceNamespace}
         '';
+        mtu = 1280;
         inherit interfaceNamespace;
       };
     };