Project

General

Profile

« Previous | Next » 

Revision ec3f44c1

Added by Erik Fonnesbeck almost 15 years ago

WAN and LAN don't need to be specially added to $specialnets, since the code after can add them anyway.

View differences:

usr/local/www/guiconfig.inc
206 206
/* TCP flags */
207 207
$tcpflags = array("fin", "syn", "rst", "psh", "ack", "urg");
208 208

  
209
$specialnets = array("wanip" => "WAN address", "lanip" => "LAN address", "lan" => "LAN net", "pptp" => "PPTP clients", "pppoe" => "PPPoE clients", "l2tp" => "L2TP clients");
209
$specialnets = array("pptp" => "PPTP clients", "pppoe" => "PPPoE clients", "l2tp" => "L2TP clients");
210 210

  
211
$spiflist = get_configured_interface_with_descr(true, true);
211
$spiflist = get_configured_interface_with_descr(false, true);
212 212
foreach ($spiflist as $ifgui => $ifdesc) {
213 213
	$specialnets[$ifgui] = $ifdesc . " net";
214 214
	$specialnets[$ifgui . 'ip'] = $ifdesc . " address";

Also available in: Unified diff