diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-21 02:20:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-21 02:20:39 +0000 |
commit | f4c9d1380eaf8ce687408984562cb36fed934f24 (patch) | |
tree | 15fff24099ddb99675fbb14de9decb8406c0c935 /etc/inc/interfaces.inc | |
parent | 14d2d21bc14969546917070f01291126a28149f3 (diff) | |
download | pfsense-f4c9d1380eaf8ce687408984562cb36fed934f24.zip pfsense-f4c9d1380eaf8ce687408984562cb36fed934f24.tar.gz |
No need to use () when setting string variables.
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r-- | etc/inc/interfaces.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 7a30022..1e53eaf 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -470,11 +470,11 @@ function interfaces_wireless_configure($if, $wlcfg) { /* Set all wireless ifconfig variables (splitt up to get rid of needed checking) */ /* Set a/b/g standard */ - $standard = ("mode " . escapeshellarg($wlcfg['standard'])); + $standard = "mode " . escapeshellarg($wlcfg['standard']); /* set wireless channel value */ if($wlcfg['channel']) - $channel = ("channel " . escapeshellarg($wlcfg['channel'])); + $channel = "channel " . escapeshellarg($wlcfg['channel']); /* set Distance value */ if($wlcfg['distance']) @@ -486,7 +486,7 @@ function interfaces_wireless_configure($if, $wlcfg) { /* Set stationname */ if ($wlcfg['stationname']) - $stationname = ("stationname " . escapeshellarg($wlcfg['stationname'])); + $stationname = "stationname " . escapeshellarg($wlcfg['stationname']); else $stationname = "pfsense"; @@ -530,7 +530,7 @@ function interfaces_wireless_configure($if, $wlcfg) { /* handle txpower setting */ if($wlcfg['txpower'] <> "") - $txpower = ("txpower " . escapeshellarg($wlcfg['txpower'])); + $txpower = "txpower " . escapeshellarg($wlcfg['txpower']); /* handle wme option */ if(isset($wlcfg['wme']['enable'])) |