Project

General

Profile

« Previous | Next » 

Revision ea9d29fa

Added by Scott Ullrich over 19 years ago

Use if(isset($wlcfg['channel']))

View differences:

etc/inc/interfaces.inc
512 512
	$protmode = "protmode " . escapeshellarg($wlcfg['protmode']);
513 513

  
514 514
	/* set wireless channel value */
515
	if($wlcfg['channel'])
515
	if(isset($wlcfg['channel']))
516 516
		$channel = "channel " . escapeshellarg($wlcfg['channel']);
517 517

  
518 518
	/* set Distance value */

Also available in: Unified diff