From: Mark W. <ri...@us...> - 2001-12-20 18:39:55
|
Update of /cvsroot/ipcop/ipcop/html/cgi-bin In directory usw-pr-cvs1:/tmp/cvs-serv15862/html/cgi-bin Modified Files: vpnmain.cgi Log Message: Fixed VPN display, thanks to Dave Roberts Index: vpnmain.cgi =================================================================== RCS file: /cvsroot/ipcop/ipcop/html/cgi-bin/vpnmain.cgi,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** vpnmain.cgi 2001/11/27 15:20:50 1.2 --- vpnmain.cgi 2001/12/20 18:39:52 1.3 *************** *** 127,132 **** { @temp = split(/[\t ]+/,$line); ! if (($temp[0] eq $netmaskl && $temp[2] eq $netmaskr) || ! ($temp[0] eq $netmaskr && $temp[2] eq $netmaskl)) { $active = "<TABLE CELLPADDING='2' CELLSPACING='0' BGCOLOR='$colourgreen'><TR><TD><B>$tr{'capsopen'}</B></TD></TR></TABLE>"; --- 127,132 ---- { @temp = split(/[\t ]+/,$line); ! if (($temp[1] eq $netmaskl && $temp[3] eq $netmaskr) || ! ($temp[1] eq $netmaskr && $temp[3] eq $netmaskl)) { $active = "<TABLE CELLPADDING='2' CELLSPACING='0' BGCOLOR='$colourgreen'><TR><TD><B>$tr{'capsopen'}</B></TD></TR></TABLE>"; *************** *** 137,141 **** else { print "<TR BGCOLOR='$table2colour'>\n"; } ! print "<TD ALIGN='CENTER'>$name</TD><TD ALIGN='CENTER'>$active</TD>\n"; print "</TR>\n"; } --- 137,141 ---- else { print "<TR BGCOLOR='$table2colour'>\n"; } ! print "<TD ALIGN='CENTER'>$name ($netmaskr)</TD><TD ALIGN='CENTER'>$active</TD>\n"; print "</TR>\n"; } |