]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/INotify.pm
INotify: fix mtu check && add test
[pve-common.git] / src / PVE / INotify.pm
index 9bfd6fbe5429e299d7587724ccebcc460e225782..6e7a78c4323c06ba1b6803ee508024e5731ae7f1 100644 (file)
@@ -1565,7 +1565,7 @@ sub __write_etc_network_interfaces {
                    if ($n->{method} eq 'static' && $n->{address} ne '0.0.0.0') ||
                       ($n->{method6} eq 'static' && $n->{address} ne '::');
 
-               &$check_mtu($ifaces, $iface, $p);
+               &$check_mtu($ifaces, $p, $iface);
                $bridgeports->{$p} = $iface;
            }
            $bridges->{$iface} = $d;