diff options
author | Bill Marquette <bill.marquette@gmail.com> | 2009-02-15 22:03:52 -0600 |
---|---|---|
committer | Bill Marquette <bill.marquette@gmail.com> | 2009-02-15 22:03:52 -0600 |
commit | 1008b7f7c8bf8b186a76613ec2277dfe121cc043 (patch) | |
tree | 012bc31eda32381b7abcace9a589d1b9ad340f88 /config/imspector | |
parent | c3693ca83a15c10a9b612e5d58b15d55a23a298d (diff) | |
download | pfsense-packages-1008b7f7c8bf8b186a76613ec2277dfe121cc043.tar.gz pfsense-packages-1008b7f7c8bf8b186a76613ec2277dfe121cc043.tar.bz2 pfsense-packages-1008b7f7c8bf8b186a76613ec2277dfe121cc043.zip |
fix bad regexp
Diffstat (limited to 'config/imspector')
-rw-r--r-- | config/imspector/services_imspector_logs.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/imspector/services_imspector_logs.php b/config/imspector/services_imspector_logs.php index 26ebd97a..fce9b892 100644 --- a/config/imspector/services_imspector_logs.php +++ b/config/imspector/services_imspector_logs.php @@ -101,8 +101,8 @@ if ($_POST['mode'] == "render") { while (!feof($fd)) { $line = fgets($fd); if(feof($fd)) continue; - $new_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)'; - $old_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*)'; + $new_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),(.*)'; + $old_format = '([^,]*),([^,]*),([^,]*),([^,]*),([^,]*),(.*)'; preg_match("/${new_format}|${old_format}/", $line, $matches); $address = $matches[1]; $timestamp = $matches[2]; |