mirror of
https://git.proxmox.com/git/pve-common
synced 2025-08-15 08:02:01 +00:00
followup code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
2896245e75
commit
b610385849
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user