1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 05:44:40 +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:
nbd 2012-06-03 17:01:30 +00:00
parent b2ec569c81
commit 060f822fc2

View File

@ -24,7 +24,7 @@ proto_pptp_setup() {
serv_addr=
for ip in $(resolveip -t 5 "$server"); do
proto_add_host_dependency "$config" "$server"
( proto_add_host_dependency "$config" "$server" )
serv_addr=1
done
[ -n "$serv_addr" ] || {