Skip to content

Commit 517c457

Browse files
committed
Fix detection of Guest AP (#218)
1 parent 2c98580 commit 517c457

File tree

4 files changed

+99
-39
lines changed

4 files changed

+99
-39
lines changed

build/17.2/145-Wireless

+6
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ sed \
1515
-e 's/0", T"100%/0", T"\ 0 dBm/' \
1616
-e "s|Output Power|Adjust Output Power<span class='icon-question-sign' title='Increase or decrease radio output transmission power. Increasing transmission power is NOT recommended. It will cause more interference in neighboring channels, and reduce component lifetime by increasing heat generated.'></span>|" \
1717
-i /www/docroot/modals/wireless-modal.lp
18+
19+
echo -e "[$SCRIPT]: Fix detection of Guest AP"
20+
sed \
21+
-e '/curiface = v.paramindex/a\ isguest = string.find(untaint(v.network),"Guest",1,true) and "1" or "0"' \
22+
-e '/isguest = v.ap_isolation/d' \
23+
-i /www/docroot/modals/wireless-modal.lp

tch-gui-unhide-17.2

+31-13
Large diffs are not rendered by default.

tch-gui-unhide-18.1.c

+31-13
Large diffs are not rendered by default.

tch-gui-unhide-20.3.c

+31-13
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)