diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-05-14 20:58:20 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-05-14 20:58:20 +0000 |
commit | 480f7222541373d22a32fcd018d2fd8942808565 (patch) | |
tree | dde9a4c75b358bcea8c31b6ef07ab73fbc41a990 | |
parent | 3040f27dde8fbeef84cce15ddecd5ece89629530 (diff) |
pptp: use the new json_get_vars function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31725 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | package/pptp/files/pptp.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/package/pptp/files/pptp.sh b/package/pptp/files/pptp.sh index 347df346c..4ce39f6f8 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 |