ppp: the pptp buffering option is not supported anymore, remove it
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 21 Jun 2012 19:41:47 +0000 (19:41 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 21 Jun 2012 19:41:47 +0000 (19:41 +0000)
SVN-Revision: 32482

package/ppp/files/ppp.sh

index 5016be850dcdb677861924556bfef3fa5de4143d..25345b2072397529bc7db0a7a955f41b0595187b 100755 (executable)
@@ -169,7 +169,6 @@ proto_pppoa_teardown() {
 proto_pptp_init_config() {
        ppp_generic_init_config
        proto_config_add_string "server"
-       proto_config_add_boolean "buffering"
        available=1
        no_device=1
 }
@@ -192,10 +191,6 @@ proto_pptp_setup() {
                exit 1
        }
 
-       local buffering
-       json_get_var buffering buffering
-       [ "${buffering:-1}" == 0 ] && buffering="--nobuffer" || buffering=
-
        local load
        for module in slhc ppp_generic ppp_async ppp_mppe ip_gre gre pptp; do
                grep -q "$module" /proc/modules && continue