]> git.proxmox.com Git - pve-common.git/commitdiff
whitespace fixup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 10 Jul 2018 09:55:21 +0000 (11:55 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 10 Jul 2018 09:55:21 +0000 (11:55 +0200)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/PVE/INotify.pm

index 18c69d5dba89f668fecf6763d681793ec16f7a2b..201c97b1965a29650bc16f86619a2ebf407e49c9 100644 (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 => {