pptp: use the new json_get_vars function

SVN-Revision: 31725
lede-17.01
Felix Fietkau 2012-05-14 20:58:20 +00:00
parent 189c25d318
commit 3ee1a3abf0
1 changed files with 1 additions and 2 deletions

View File

@ -20,7 +20,7 @@ proto_pptp_setup() {
local iface="$2"
local load
json_get_var server server
json_get_vars server buffering
serv_addr=
for ip in $(resolveip -t 5 "$server"); do
@ -34,7 +34,6 @@ proto_pptp_setup() {
exit 1
}
json_get_var buffering buffering
[ "${buffering:-1}" == 0 ] && buffering="--nobuffer" || buffering=
for module in slhc ppp_generic ppp_async ip_gre; do