* luci/libs/uvl: add missing username, password and server options to network schame, fix c-n-p errors

This commit is contained in:
Jo-Philipp Wich 2008-09-03 01:51:12 +00:00
parent 2b767fc45c
commit 3817e51402

View file

@ -27,6 +27,12 @@ config variable
option section 'network.interface' option section 'network.interface'
option datatype 'macaddr' option datatype 'macaddr'
config variable
option name 'mtu'
option title 'MTU'
option section 'network.interface'
option datatype 'uint'
config variable config variable
option name 'ipaddr' option name 'ipaddr'
option title 'IPv4 host address' option title 'IPv4 host address'
@ -69,12 +75,6 @@ config variable
option section 'network.interface' option section 'network.interface'
option datatype 'ipaddr' option datatype 'ipaddr'
config variable
option name 'mtu'
option title 'MTU'
option section 'network.interface'
option datatype 'uint'
config variable config variable
option name 'keepalive' option name 'keepalive'
option title 'Number of connection failures before reconnect (PPTP)' option title 'Number of connection failures before reconnect (PPTP)'
@ -87,6 +87,24 @@ config variable
option section 'network.interface' option section 'network.interface'
option datatype 'uint' option datatype 'uint'
config variable
option name 'username'
option title 'PPTP username'
option section 'network.interface'
option datatype 'string'
config variable
option name 'password'
option title 'PPTP password'
option section 'network.interface'
option datatype 'string'
config variable
option name 'server'
option title 'PPTP server'
option section 'network.interface'
option datatype 'ipaddr'
config variable config variable
option name 'proto' option name 'proto'
option title 'Option proto' option title 'Option proto'
@ -133,9 +151,6 @@ config section
option package 'network' option package 'network'
list depends 'proto=static, ipaddr, netmask' list depends 'proto=static, ipaddr, netmask'
list depends 'proto=static, ip6addr' list depends 'proto=static, ip6addr'
list depends 'proto=pppoe, username, password'
list depends 'proto=pptp, username, password, server'
list depends 'proto=dhcp'
option named true option named true
config variable config variable