From: Felix Fietkau Date: Mon, 14 May 2012 20:58:20 +0000 (+0000) Subject: pptp: use the new json_get_vars function X-Git-Tag: reboot~13933 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3ee1a3abf0b08a05bfccabc81d72f6d9c825e835;p=openwrt%2Fstaging%2Fchunkeey.git pptp: use the new json_get_vars function SVN-Revision: 31725 --- diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index 347df346c0..4ce39f6f80 100755 --- a/package/pptp/files/pptp.sh +++ b/package/pptp/files/pptp.sh @@ -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