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.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to