comgt: add validation rules to proto handler
authorJohn Crispin <john@openwrt.org>
Tue, 18 Feb 2014 13:33:52 +0000 (13:33 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 18 Feb 2014 13:33:52 +0000 (13:33 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 39618

package/network/utils/comgt/files/3g.sh

index 2ed74b4c0845d90ef4cbcd2366064ae35357b7d7..2dc719b2cac4ef249db54805cc6f146b0961af5a 100644 (file)
@@ -9,7 +9,7 @@ proto_3g_init_config() {
        no_device=1
        available=1
        ppp_generic_init_config
-       proto_config_add_string "device"
+       proto_config_add_string "device:device"
        proto_config_add_string "apn"
        proto_config_add_string "service"
        proto_config_add_string "pincode"