Ignore unparseable arp output.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2862 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
d3787426f9
commit
282a542a6a
|
@ -221,7 +221,8 @@ if ( $status )
|
|||
foreach ( $output as $line )
|
||||
{
|
||||
if ( !preg_match( '/^(\S+) \(([\d.]+)\) at ([0-9a-f:]+)/', $line, $matches ) )
|
||||
die( "Can't parse command output '$line'" );
|
||||
next;
|
||||
//die( "Can't parse command output '$line'" );
|
||||
$host = $matches[1];
|
||||
$ip = $matches[2];
|
||||
if ( !$host || $host == '?' )
|
||||
|
|
Loading…
Reference in New Issue