mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix syntax error
This commit is contained in:
parent
c86ef0469a
commit
b8b7cca346
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ _set_client2client() {
|
|||
local c2cid=0
|
||||
[ -z "$vps_config" ] && vps_config=$(_get_json "config")
|
||||
[ -z "$vps_config" ] && return
|
||||
c2cips="$(echo "$vps_config" | jsonfilter -q -e '@.client2client.lanips)"
|
||||
c2cips="$(echo "$vps_config" | jsonfilter -q -e '@.client2client.lanips')"
|
||||
vpnifname="$(uci -q get network.omrvpn.ifname)"
|
||||
vpnip_local=$(ip -4 -br addr ls dev ${vpnifname} | awk -F'[ /]+' '{print $3}')
|
||||
for lanip in $c2cips; do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue