diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-08-06 20:58:35 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-03-15 11:41:44 +0100 |
commit | 171ef77e8985ffd90eb66b8a0a3cd74beb37ccdc (patch) | |
tree | 0540f0e6fcba736ac234d5451bb3158c133b7a98 /protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol | |
parent | eeef38d53412a78f185f0bb53153ecb3fe9e8838 (diff) |
treewide: remove rendundant proto handler options
The introduction of network device configuration support also implemented
all common, protocol-independent interface options directly in the
interface config view, so drop the redundant option definitions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol')
-rw-r--r-- | protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js b/protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js index 87ccc9df1c..bec6c7ffa2 100644 --- a/protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js +++ b/protocols/luci-proto-vpnc/htdocs/luci-static/resources/protocol/vpnc.js @@ -103,9 +103,5 @@ return network.registerProtocol('vpnc', { o = s.taboption('general', form.Value, 'target_network', _('Target network')); o.placeholder = '0.0.0.0/0'; o.datatype = 'network'; - - o = s.taboption('general', form.ListValue, 'defaultroute', _('Default Route'), _('Set VPN as Default Route')); - o.value('0', _('No')); - o.value('1', _('Yes')); } }); |