mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ensure string is cleared out if needed
This commit is contained in:
parent
7eadaa9c73
commit
abfd0c9bcd
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user