summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-30 19:19:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-30 19:19:57 +0000
commitea9d29fa76379c1d45641ea1f0d38a00dbb9a6aa (patch)
tree8f89078f7d5639c9a999b772dcd29033b3db0132 /etc/inc/interfaces.inc
parent3f82e64ded5ed4b0c7b536694f0025838ebe2dd1 (diff)
downloadpfsense-ea9d29fa76379c1d45641ea1f0d38a00dbb9a6aa.zip
pfsense-ea9d29fa76379c1d45641ea1f0d38a00dbb9a6aa.tar.gz
Use if(isset($wlcfg['channel']))
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 104a36a..07cce6f 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -512,7 +512,7 @@ function interfaces_wireless_configure($if, $wlcfg) {
$protmode = "protmode " . escapeshellarg($wlcfg['protmode']);
/* set wireless channel value */
- if($wlcfg['channel'])
+ if(isset($wlcfg['channel']))
$channel = "channel " . escapeshellarg($wlcfg['channel']);
/* set Distance value */
OpenPOWER on IntegriCloud