mirror of https://github.com/hak5/openwrt.git
pptp: fix passing setup json variables to the ppp setup code
SVN-Revision: 32035lede-17.01
parent
12cb49b233
commit
785c3f1db8
|
@ -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" ] || {
|
||||
|
|
Loading…
Reference in New Issue