]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Setup/Redhat.pm
Move JSONFormat code to PVE::LXC::Config
[pve-container.git] / src / PVE / LXC / Setup / Redhat.pm
index 71cf8540fe5dcaca0f18efed1098fbe211060cc5..fb5956bf267bdb64393668812da5eae2b639c71c 100644 (file)
@@ -177,7 +177,7 @@ sub setup_network {
 
     foreach my $k (keys %$conf) {
        next if $k !~ m/^net(\d+)$/;
-       my $d = PVE::LXC::parse_lxc_network($conf->{$k});
+       my $d = PVE::LXC::Config->parse_lxc_network($conf->{$k});
        next if !$d->{name};
        $has_ipv4 = 1 if defined($d->{ip});
        $has_ipv6 = 1 if defined($d->{ip6});