From: Wolfgang Bumiller Date: Tue, 10 Jul 2018 09:55:39 +0000 (+0200) Subject: fixup: compare MTUs numerically X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=commitdiff_plain;h=c27ef07ff57a0143ef9200ed8ee53401d46f727a fixup: compare MTUs numerically Signed-off-by: Wolfgang Bumiller --- diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index 201c97b..3300850 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -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 => {