From 4aff5a4e3df635e83decd87fd44c88a4a5bc30a2 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 18 Feb 2014 13:33:56 +0000 Subject: ppp: add validation rules to proto handler Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39619 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/network/services/ppp/files/ppp.sh | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'package/network') diff --git a/package/network/services/ppp/files/ppp.sh b/package/network/services/ppp/files/ppp.sh index 284d44cfed..882440900b 100755 --- a/package/network/services/ppp/files/ppp.sh +++ b/package/network/services/ppp/files/ppp.sh @@ -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() { -- cgit v1.2.3