From: Wolfgang Bumiller Date: Wed, 12 Aug 2015 06:53:01 +0000 (+0200) Subject: Ceph: fix old interfaces access in find_node_ip X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=957a59b308e265b41935974fcd7224634669ba6f;p=pve-manager.git Ceph: fix old interfaces access in find_node_ip Fixes #681 --- diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm index b7eea844..8a8581fa 100644 --- a/PVE/API2/Ceph.pm +++ b/PVE/API2/Ceph.pm @@ -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;