projects
/
pve-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2896245
)
followup code cleanup
author
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 8 May 2019 15:36:14 +0000
(15:36 +0000)
committer
Thomas Lamprecht
<t.lamprecht@proxmox.com>
Wed, 8 May 2019 15:36:14 +0000
(15:36 +0000)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/INotify.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/PVE/INotify.pm
b/src/PVE/INotify.pm
index 11b672850c19d5cbe3ab3a4c359612472aff4a07..b6600412293d9cdb85c9bc35a6cff030e11b47d9 100644
(file)
--- 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;
}