Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# YazFi - enhanced AsusWRT-Merlin Guest WiFi Networks

## v4.4.10
### Updated on 2026-Mar-15
### Updated on 2026-Mar-21

## About
Feature expansion of guest WiFi networks on AsusWRT-Merlin, including, but not limited to:
Expand Down
7 changes: 4 additions & 3 deletions YazFi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
## Guest Network DHCP script and for ##
## AsusWRT-Merlin firmware ##
###################################################
# Last Modified: 2026-Mar-15
# Last Modified: 2026-Mar-21
#--------------------------------------------------

###### Shellcheck directives ######
Expand All @@ -43,7 +43,7 @@ readonly SCRIPT_NAME="YazFi"
readonly SCRIPT_CONF="/jffs/addons/$SCRIPT_NAME.d/config"
readonly YAZFI_VERSION="v4.4.10"
readonly SCRIPT_VERSION="v4.4.10"
readonly SCRIPT_VERSTAG="26031520"
readonly SCRIPT_VERSTAG="26032100"
SCRIPT_BRANCH="develop"
SCRIPT_REPO="https://raw.githubusercontent.com/AMTM-OSR/$SCRIPT_NAME/$SCRIPT_BRANCH"
readonly SCRIPT_DIR="/jffs/addons/$SCRIPT_NAME.d"
Expand Down Expand Up @@ -3741,7 +3741,8 @@ Menu_Status()
GUEST_HOST="$(nvram get custom_clientlist | grep -ioE "<.*>$GUEST_MACADDR" | awk -F ">" '{print $(NF-1)}' | tr -d '<')" #thanks Adamm00
fi

if [ -x /opt/bin/dig ] && [ -z "$GUEST_HOST" ]; then
if [ -z "$GUEST_HOST" ] && [ -x /opt/bin/dig ]
then
GUEST_HOST="$(/opt/bin/dig +short +answer -x "$GUEST_IPADDR" '@'"$(nvram get lan_ipaddr)" | cut -f1 -d'.')"
fi
elif [ -n "$FOUND_IPADDR" ]
Expand Down