Skip to content

Commit 41a126b

Browse files
committed
Fix stale hardcoded wifi-corp SSID in portal config dump (use $ESSID_MGT/$CHANNEL_MGT)
1 parent ce6ea6f commit 41a126b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

APs/config/html/index.php.tmp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ private_key = /root/certs/server.key
204204
private_key_passwd = whatever
205205
dh_file = /etc/hostapd-wpe/dh
206206

207-
ssid = wifi-corp
208-
channel = 44</pre>";
207+
ssid = $ESSID_MGT
208+
channel = $CHANNEL_MGT</pre>";
209209
echo "<p>Certificate Authority: <a href=\"/.internalCA/ca.crt\">http://{$_SERVER['SERVER_ADDR']}/.internalCA/ca.crt</a></p>";
210210
}
211211

0 commit comments

Comments
 (0)