]> git.proxmox.com Git - pve-manager.git/commitdiff
Ceph: fix old interfaces access in find_node_ip
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Wed, 12 Aug 2015 06:53:01 +0000 (08:53 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 12 Aug 2015 07:43:03 +0000 (09:43 +0200)
Fixes #681

PVE/API2/Ceph.pm

index b7eea84468177ce38a677148f229923fe8258062..8a8581fa4e658635279c1989f3d3b1c01af1546d 100644 (file)
@@ -772,7 +772,7 @@ my $find_node_ip = sub {
     my $ifaces = $config->{ifaces};
 
     foreach my $iface (keys %$ifaces) {
-       my $d = $config->{$iface};
+       my $d = $ifaces->{$iface};
        next if !$d->{$id};
        my $a = Net::IP->new($d->{$id});
        next if !$a;