[OpenWrt-Devel] [PATCH]:for demand option in l2tp.sh file of xl2tpd package.

Pranay Goud mogulapranay57 at gmail.com
Thu May 19 06:50:43 EDT 2016


Hi Developers,



Below patch is for considering demand option in l2tp.sh, demand option is
not getting initialized



*json_get_vars ipv6 demand keepalive username password pppd_options *



the above line in l2tp.sh fails to read demand option and whenever user
changes only demand option (idle time value) xl2tp dameon is not notified.



--- a/package/openwrt/net/xl2tpd/files/l2tp.sh

+++ b/package/openwrt/net/xl2tpd/files/l2tp.sh

@@ -14,6 +14,7 @@ proto_l2tp_init_config() {

        proto_config_add_string "keepalive"

        proto_config_add_string "pppd_options"

        proto_config_add_boolean "ipv6"

+      proto_config_add_int "demand"

        proto_config_add_int "mtu"

        proto_config_add_string "server"

        available=1







Thanks,

Pranay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20160519/2c78b1bd/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list