summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/RecopilaIpesMacs.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/WebConsole/includes/RecopilaIpesMacs.php')
-rw-r--r--admin/WebConsole/includes/RecopilaIpesMacs.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/admin/WebConsole/includes/RecopilaIpesMacs.php b/admin/WebConsole/includes/RecopilaIpesMacs.php
index 4601a4a2..c41547dc 100644
--- a/admin/WebConsole/includes/RecopilaIpesMacs.php
+++ b/admin/WebConsole/includes/RecopilaIpesMacs.php
@@ -165,22 +165,3 @@ function RecorreOrdenadores($cmd){
}
$rs->Cerrar();
}
-
-function get_netmasks($cmd, &$macs, &$netmasks){
- $macs = str_replace(";", "','", $macs);
- $cmd->texto="SELECT mac, mascara
- FROM ordenadores
- WHERE mac IN ('".$macs."')";
- $rs=new Recordset;
- $rs->Comando=&$cmd;
- if (!$rs->Abrir()) return;
- $macs = "";
- while (!$rs->EOF){
- $macs.=$rs->campos["mac"].";";
- $netmasks.=$rs->campos["mascara"].";";
- $rs->Siguiente();
- }
- $rs->Cerrar();
- $macs = substr($macs, 0, -1);
- $netmasks = substr($netmasks, 0, -1);
-}