diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-09-14 18:16:13 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-09-14 18:20:27 -0400 |
commit | 13d193c2f742f037ff4e87e373922d8b6e7c5749 (patch) | |
tree | 991614998a749391854dea5bb3cb5edc5380e88a /usr/local/www/diag_logs_ipsec.php | |
parent | 40b48c6cd486efddf88a805efeb42e3181fd93bc (diff) | |
download | pfsense-13d193c2f742f037ff4e87e373922d8b6e7c5749.zip pfsense-13d193c2f742f037ff4e87e373922d8b6e7c5749.tar.gz |
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
Diffstat (limited to 'usr/local/www/diag_logs_ipsec.php')
-rwxr-xr-x | usr/local/www/diag_logs_ipsec.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php index 9563753..31fcc80 100755 --- a/usr/local/www/diag_logs_ipsec.php +++ b/usr/local/www/diag_logs_ipsec.php @@ -2,7 +2,7 @@ /* $Id$ */ /* diag_logs.php - Copyright (C) 2004 Scott Ullrich + Copyright (C) 2004-2009 Scott Ullrich All rights reserved. originally part of m0n0wall (http://m0n0.ch/wall) @@ -31,6 +31,11 @@ POSSIBILITY OF SUCH DAMAGE. */ +/* + pfSense_BUILDER_BINARIES: /sbin/ifconfig /usr/bin/awk + pfSense_MODULE: ipsec +*/ + ##|+PRIV ##|*IDENT=page-status-systemlogs-ipsecvpn ##|*NAME=Status: System logs: IPsec VPN page @@ -52,7 +57,7 @@ if(is_array($config['ipsec']['phase1'])) $replace[] = "$1<strong>[{$ph1ent['descr']}]</strong>: $2$3$4"; } /* collect all our own ip addresses */ -exec("/sbin/ifconfig|/usr/bin/awk '/inet / {print $2}'", $ip_address_list); +exec("/sbin/ifconfig | /usr/bin/awk '/inet / {print $2}'", $ip_address_list); foreach($ip_address_list as $address) { $search[] = "/(racoon: )([A-Z:].*?)({$address}\[[0-9].+\])(.*isakmp.*)/i"; $replace[] = "$1<strong>[Self]</strong>: $2$3$4"; |