]> git.proxmox.com Git - pve-common.git/commitdiff
fixup: compare MTUs numerically
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 10 Jul 2018 09:55:39 +0000 (11:55 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 10 Jul 2018 09:55:39 +0000 (11:55 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
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 => {