summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-21 02:20:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-21 02:20:39 +0000
commitf4c9d1380eaf8ce687408984562cb36fed934f24 (patch)
tree15fff24099ddb99675fbb14de9decb8406c0c935 /etc
parent14d2d21bc14969546917070f01291126a28149f3 (diff)
downloadpfsense-f4c9d1380eaf8ce687408984562cb36fed934f24.zip
pfsense-f4c9d1380eaf8ce687408984562cb36fed934f24.tar.gz
No need to use () when setting string variables.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc8
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']))
OpenPOWER on IntegriCloud