diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-03-07 14:45:45 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-03-07 14:45:45 -0500 |
commit | abfd0c9bcdf4b31d64983ea557de018afbcd720d (patch) | |
tree | 53302c4d6570051c2432793d138eacf2f6123a1f | |
parent | 7eadaa9c733e696c30b5a6447b1d62aec63db635 (diff) | |
download | pfsense-abfd0c9bcdf4b31d64983ea557de018afbcd720d.zip pfsense-abfd0c9bcdf4b31d64983ea557de018afbcd720d.tar.gz |
Ensure string is cleared out if needed
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index e6b61e4..2237193 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1642,6 +1642,8 @@ EOD; case 'hostap': if($wlcfg['wpa']['passphrase']) $wpa_passphrase = "wpa_passphrase={$wlcfg['wpa']['passphrase']}\n"; + else + $wpa_passphrase = ""; if (isset($wlcfg['wpa']['enable'])) { $wpa .= <<<EOD interface={$if} |