pptp: fix passing setup json variables to the ppp setup code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32035 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
6b893bd488
commit
18225e57ea
|
@ -24,7 +24,7 @@ proto_pptp_setup() {
|
||||||
|
|
||||||
serv_addr=
|
serv_addr=
|
||||||
for ip in $(resolveip -t 5 "$server"); do
|
for ip in $(resolveip -t 5 "$server"); do
|
||||||
proto_add_host_dependency "$config" "$server"
|
( proto_add_host_dependency "$config" "$server" )
|
||||||
serv_addr=1
|
serv_addr=1
|
||||||
done
|
done
|
||||||
[ -n "$serv_addr" ] || {
|
[ -n "$serv_addr" ] || {
|
||||||
|
|
Loading…
Reference in New Issue