5
0
mirror of git://git.proxmox.com/git/pve-common.git synced 2024-12-22 21:33:47 +03:00

whitespace fixup

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2018-07-10 11:55:21 +02:00
parent 94d786b393
commit cebd1c85f0

View File

@ -754,17 +754,16 @@ my $extract_ovs_option = sub {
};
my $check_mtu = sub {
my ($ifaces, $parent, $child) = @_;
my ($ifaces, $parent, $child) = @_;
die "check mtu - missing parent interface\n" if !$parent;
die "check mtu - missing child interface\n" if !$child;
my $pmtu = $ifaces->{$parent}->{mtu} ? $ifaces->{$parent}->{mtu} : 1500;
my $cmtu = $ifaces->{$child}->{mtu} ? $ifaces->{$child}->{mtu} : 1500;
die "check mtu - missing parent interface\n" if !$parent;
die "check mtu - missing child interface\n" if !$child;
die "interface '$parent' - mtu $pmtu is bigger than '$child' - mtu $cmtu\n"
if $pmtu gt $cmtu;
my $pmtu = $ifaces->{$parent}->{mtu} ? $ifaces->{$parent}->{mtu} : 1500;
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;
};
# config => {