]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/INotify.pm
fixup: compare MTUs numerically
[pve-common.git] / src / PVE / INotify.pm
index 201c97b1965a29650bc16f86619a2ebf407e49c9..330085066f29f461329494084d7a654c0149e7a3 100644 (file)
@@ -763,7 +763,7 @@ my $check_mtu = sub {
     my $cmtu = $ifaces->{$child}->{mtu} ? $ifaces->{$child}->{mtu} : 1500;
 
     die "interface '$parent' - mtu $pmtu is bigger than '$child' - mtu $cmtu\n"
-       if $pmtu gt $cmtu;
+       if $pmtu > $cmtu;
 };
 
 # config => {