luci-app-openvpn: add missing allow_recursive_routing option
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 26 Nov 2018 12:41:40 +0000 (13:41 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 27 Nov 2018 09:05:28 +0000 (10:05 +0100)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index 2124c3d285774615e3a296064cba410d40383556..9e3475a302a8c11b35306901d1cf08a65ab87e3e 100644 (file)
@@ -234,6 +234,10 @@ local knownParams = {
                        "route_nopull",
                        0,
                        translate("Don't pull routes automatically") },
+               { Flag,
+                       "allow_recursive_routing",
+                       0,
+                       translate("Don't drop incoming tun packets with same destination as host") },
                { ListValue,
                        "mtu_disc",
                        { "yes", "maybe", "no" },