summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-02-13 18:38:51 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-02-13 18:38:59 -0500
commit525d565bff55e939a70733540bc545476547f588 (patch)
tree23c33b71247effb5d060402b68c1ffc4ef71b66d /etc
parentf668c765efa01966a38510ee215f53f57cc415cc (diff)
downloadpfsense-525d565bff55e939a70733540bc545476547f588.zip
pfsense-525d565bff55e939a70733540bc545476547f588.tar.gz
Ensure carriage returns exist to avoid run-on directives
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 09f123e..f57b267 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1584,6 +1584,7 @@ wpa_passphrase={$wlcfg['wpa']['passphrase']}
#Enable the next lines for preauth when roaming. Interface = wired or wireless interface talking to the AP you want to roam from/to
#rsn_preauth=1
#rsn_preauth_interfaces=eth0
+
EOD;
if($wlcfg['auth_server_addr'] && $wlcfg['auth_server_shared_secret']) {
@@ -1591,10 +1592,12 @@ EOD;
if($wlcfg['auth_server_port'])
$auth_server_port = $wlcfg['auth_server_port'];
$wpa .= <<<EOD
+
ieee8021x=1
auth_server_addr={$wlcfg['auth_server_addr']}
auth_server_port={$auth_server_port}
auth_server_shared_secret={$wlcfg['auth_server_shared_secret']}
+
EOD;
} else {
$wpa .= "ieee8021x={$wlcfg['wpa']['ieee8021x']}\n";
OpenPOWER on IntegriCloud