From b610385849cd365b5bc8211057ed8cd456ebc3d8 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 8 May 2019 15:36:14 +0000 Subject: [PATCH] followup code cleanup Signed-off-by: Thomas Lamprecht --- src/PVE/INotify.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index 11b6728..b660041 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1124,9 +1124,8 @@ sub __read_etc_network_interfaces { if ($d->{address6}) { $d->{cidr6} = $d->{address6}; if ($d->{netmask6}) { - $d->{cidr6} .= "/" . $d->{netmask6} if $d->{netmask6}; + $d->{cidr6} .= "/" . $d->{netmask6}; } elsif ($d->{address6} =~ m!^(.*)/(\d+)$!) { - $d->{cidr6} = $d->{address6}; $d->{address6} = $1; $d->{netmask6} = $2; } -- 2.39.2