Project

General

Profile

« Previous | Next » 

Revision b05248a9

Added by Seth Mos almost 18 years ago

Correctly check the disabled bit

View differences:

usr/local/www/diag_ipsec.php
105 105
	</tr>
106 106
<?php
107 107
foreach ($config['ipsec']['tunnel'] as $ipsec) {
108
	if(! $ipsec{'disabled'}) {
108
	if(! isset($ipsec['disabled'])) {
109 109
?>
110 110
	<tr>
111 111
		<td class="listlr"><?=htmlspecialchars(get_ipsec_tunnel_src($ipsec));?>

Also available in: Unified diff