mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 00:25:06 +02:00
solve some php warnings
git-svn-id: http://www.observium.org/svn/observer/trunk@1689 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -276,7 +276,7 @@ function addHost($host, $community, $snmpver, $port = 161)
|
||||
|
||||
function scanUDP ($host, $port, $timeout)
|
||||
{
|
||||
$handle = fsockopen($host, $port, &$errno, &$errstr, 2);
|
||||
$handle = fsockopen($host, $port, $errno, $errstr, 2);
|
||||
if (!$handle) {
|
||||
}
|
||||
socket_set_timeout ($handle, $timeout);
|
||||
|
||||
Reference in New Issue
Block a user