- Split NoVPN source type in Local and Routed.

This commit is contained in:
2025-06-29 19:40:34 +02:00
parent 7efd2f514c
commit b1bf71003d
2 changed files with 30 additions and 30 deletions

View File

@@ -248,7 +248,7 @@ network_src_tab_load()
case "${nstl_type}"
in
"0")
"0"|"1") # Local + Routed
nstl_device=""
nstl_status="2"
@@ -258,7 +258,7 @@ network_src_tab_load()
nstl_last_seen=""
;;
"1")
"2") # OpenVPN
nstl_device="tun0"
nstl_status_line="$( echo "${NETWORK_OPENVPN_STATUS}" | grep "${nstl_device}.log: CLIENT_LIST.*${nstl_ip},")"