import from 4.3 needed tweak
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 30 Mar 2009 10:10:16 +0000 (10:10 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 30 Mar 2009 10:10:16 +0000 (10:10 +0000)
boot/upload-bmlog.php

index 6e29e23..9ded5a6 100755 (executable)
@@ -27,7 +27,7 @@ $ip = $_SERVER['REMOTE_ADDR'];
 
 $hostname=$default_hostname;
 // locate hostname from DB based on this IP
-$interfaces=$adm->GetInterfaces(array("ip"=>$ip));
+$interfaces=$adm->GetNodeNetworks(array("ip"=>$ip));
 if (! empty($interfaces) ) {
   $interface=$interfaces[0];
   $node_id=$interface['node_id'];