ppp: add validation rules to proto handler
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39619
This commit is contained in:
parent
ed72f7102c
commit
ee5cb76c66
1 changed files with 10 additions and 10 deletions
|
@ -9,16 +9,16 @@
|
|||
}
|
||||
|
||||
ppp_generic_init_config() {
|
||||
proto_config_add_string "username"
|
||||
proto_config_add_string "password"
|
||||
proto_config_add_string "keepalive"
|
||||
proto_config_add_int "demand"
|
||||
proto_config_add_string "pppd_options"
|
||||
proto_config_add_string "connect"
|
||||
proto_config_add_string "disconnect"
|
||||
proto_config_add_boolean "ipv6"
|
||||
proto_config_add_boolean "authfail"
|
||||
proto_config_add_int "mtu"
|
||||
proto_config_add_string username
|
||||
proto_config_add_string password
|
||||
proto_config_add_string keepalive
|
||||
proto_config_add_int demand
|
||||
proto_config_add_string pppd_options
|
||||
proto_config_add_string 'connect:file'
|
||||
proto_config_add_string 'disconnect:file'
|
||||
proto_config_add_boolean ipv6
|
||||
proto_config_add_boolean authfail
|
||||
proto_config_add_int mtu
|
||||
}
|
||||
|
||||
ppp_generic_setup() {
|
||||
|
|
Loading…
Reference in a new issue