diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2009-01-16 11:49:56 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2009-01-16 11:49:56 +0000 |
commit | d09641af6ef39543bde639f391febf533ad1a732 (patch) | |
tree | 87cef69af3fc500012d7fa1c2c60b4a9b15a2a2a /usr/local/www/diag_logs_ipsec.php | |
parent | c7ce85b5bcca5f57abc14a0abf6c4935576bce74 (diff) | |
download | pfsense-d09641af6ef39543bde639f391febf533ad1a732.zip pfsense-d09641af6ef39543bde639f391febf533ad1a732.tar.gz |
Make IPsec gateway highlighting work with hostnames for remote endpoints
Diffstat (limited to 'usr/local/www/diag_logs_ipsec.php')
-rwxr-xr-x | usr/local/www/diag_logs_ipsec.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_logs_ipsec.php b/usr/local/www/diag_logs_ipsec.php index 2ef5474..15f8fcd 100755 --- a/usr/local/www/diag_logs_ipsec.php +++ b/usr/local/www/diag_logs_ipsec.php @@ -48,7 +48,7 @@ $search = array(); $replace = array(); if(is_array($config['ipsec']['phase1'])) foreach($config['ipsec']['phase1'] as $ph1ent) { - $gateway = "{$ph1ent['remote-gateway']}"; + $gateway = ipsec_get_phase1_dst($ph1ent); $search[] = "/(racoon: )([A-Z:].*?)({$gateway}\[[0-9].+\]|{$gateway})(.*)/i"; $replace[] = "$1<strong>[{$ph1ent['descr']}]</strong>: $2$3$4"; } |