mirror of
https://git.proxmox.com/git/pve-common
synced 2025-07-13 19:13:13 +00:00
fixup: compare MTUs numerically
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
cebd1c85f0
commit
c27ef07ff5
@ -763,7 +763,7 @@ my $check_mtu = sub {
|
|||||||
my $cmtu = $ifaces->{$child}->{mtu} ? $ifaces->{$child}->{mtu} : 1500;
|
my $cmtu = $ifaces->{$child}->{mtu} ? $ifaces->{$child}->{mtu} : 1500;
|
||||||
|
|
||||||
die "interface '$parent' - mtu $pmtu is bigger than '$child' - mtu $cmtu\n"
|
die "interface '$parent' - mtu $pmtu is bigger than '$child' - mtu $cmtu\n"
|
||||||
if $pmtu gt $cmtu;
|
if $pmtu > $cmtu;
|
||||||
};
|
};
|
||||||
|
|
||||||
# config => {
|
# config => {
|
||||||
|
Loading…
Reference in New Issue
Block a user