From 282a542a6acfb88276d0a09291c7d85c5e34af15 Mon Sep 17 00:00:00 2001 From: stan Date: Wed, 6 May 2009 09:49:30 +0000 Subject: [PATCH] Ignore unparseable arp output. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2862 e3e1d417-86f3-4887-817a-d78f3d33393f --- web/skins/classic/views/monitorprobe.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/skins/classic/views/monitorprobe.php b/web/skins/classic/views/monitorprobe.php index d8127e86d..806898893 100644 --- a/web/skins/classic/views/monitorprobe.php +++ b/web/skins/classic/views/monitorprobe.php @@ -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 == '?' )