luci-proto-vpnc: expose defaultroute option in proto_vpnc.lua
authorWhitronic <[email protected]>
Thu, 8 Nov 2018 11:25:43 +0000 (11:25 +0000)
committerDirk Brenken <[email protected]>
Sun, 20 Oct 2019 05:34:44 +0000 (07:34 +0200)
commitceb1f80710007f7b4d805135e849e18622e815ce
treed9492f902106cb21f6244545216800fad3a7d777
parent42c122887534654e8f448791ad8870bcf903b526
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 <[email protected]>
[reword commit message]
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit f4212285d474a9f75a55d7c39ae1ac70dc04d1e0)
protocols/luci-proto-vpnc/luasrc/model/cbi/admin_network/proto_vpnc.lua