import from 4.3 needed tweak
[nodeconfig.git] / 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'];