luci-proto-vpnc: expose defaultroute option in proto_vpnc.lua
authorWhitronic <joao.f.vieira@gmail.com>
Thu, 8 Nov 2018 11:25:43 +0000 (11:25 +0000)
committerJo-Philipp Wich <jo@mein.io>
Thu, 15 Nov 2018 06:44:06 +0000 (07:44 +0100)
commitf4212285d474a9f75a55d7c39ae1ac70dc04d1e0
treed1353b2c8d9d5f90fd702099719f89bb207ad7e4
parenta57ba0083ec65aa112f2590a9078845da56aa7e3
luci-proto-vpnc: expose defaultroute option in proto_vpnc.lua

Sometimes people only want the VPN connection to be a route to a specific
network, not the default gateway for all traffic.

I've tested this on my router and works fine!

Submitted-by: Whitronic <joao.f.vieira@gmail.com>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua