projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
189c25d
)
pptp: use the new json_get_vars function
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 14 May 2012 20:58:20 +0000
(20:58 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 14 May 2012 20:58:20 +0000
(20:58 +0000)
SVN-Revision: 31725
package/pptp/files/pptp.sh
patch
|
blob
|
history
diff --git
a/package/pptp/files/pptp.sh
b/package/pptp/files/pptp.sh
index 347df346c0f2b63932bf45147a80fe27926729aa..4ce39f6f806866c99d311d31e53b07040d6ce37c 100755
(executable)
--- 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_var
s 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