tn3399_openwrt/package/network
John Crispin cba772f5bc pppd: Place plugin-specific options after plugin name.
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:

This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 38911
2013-11-25 14:09:16 +00:00
..
config firewall: optimize DNAT rules and skip invalid rules and redirects (#14485) 2013-11-18 11:59:27 +00:00
ipv6 6rd: Clear correct IPv6 address bits in 6rdcalc 2013-11-16 09:18:14 +00:00
services pppd: Place plugin-specific options after plugin name. 2013-11-25 14:09:16 +00:00
utils Add patch to fix ipset timeout setting problem 2013-11-12 11:01:11 +00:00