diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-30 19:19:57 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-30 19:19:57 +0000 |
commit | ea9d29fa76379c1d45641ea1f0d38a00dbb9a6aa (patch) | |
tree | 8f89078f7d5639c9a999b772dcd29033b3db0132 | |
parent | 3f82e64ded5ed4b0c7b536694f0025838ebe2dd1 (diff) | |
download | pfsense-ea9d29fa76379c1d45641ea1f0d38a00dbb9a6aa.zip pfsense-ea9d29fa76379c1d45641ea1f0d38a00dbb9a6aa.tar.gz |
Use if(isset($wlcfg['channel']))
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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 */ |