mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-28 00:49:43 +02:00
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-a3cf2f4a3e73
This commit is contained in:
parent
b2ec569c81
commit
060f822fc2
@ -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
Block a user