mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
more trailing spaces hunted down and shot, then shot again
git-svn-id: http://www.observium.org/svn/observer/trunk@1880 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -12,7 +12,7 @@ foreach (explode("\n", $oids) as $data)
|
||||
$addr = Net_IPv4::parseAddress("$oid/$mask");
|
||||
$network = $addr->network . "/" . $addr->bitmask;
|
||||
$cidr = $addr->bitmask;
|
||||
|
||||
|
||||
if (mysql_result(mysql_query("SELECT count(*) FROM `ports` WHERE device_id = '".$device['device_id']."' AND `ifIndex` = '$ifIndex'"), 0) != '0' && $oid != "0.0.0.0")
|
||||
{
|
||||
$i_query = "SELECT interface_id FROM `ports` WHERE device_id = '".$device['device_id']."' AND `ifIndex` = '$ifIndex'";
|
||||
|
||||
Reference in New Issue
Block a user