diff --git a/cdp.php b/cdp.php deleted file mode 100755 index 73cd98965..000000000 --- a/cdp.php +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/php -getports(); - $cdp = $snmp->explore_cdp($ports); - - foreach (array_keys($cdp) as $key) { - $port = $ports[$key]; - $link = $cdp[$key]; - $loc_if[$key] = @mysql_result(mysql_query("SELECT `id` FROM `interfaces` WHERE host = '" . $device['id'] . "' AND `if` = '" . $port['desc'] . "'"), 0); - echo( $key . "||" . $hostname . "||" . $loc_if[$key] . "||" . $port['desc'] . "||" . $link['host'] . "||" . $link['port'] . "\n" ); - } - -} - -?>