From: Florian Eckert <fe@dev.tdt.de>
Date: Mon, 26 Nov 2018 12:41:40 +0000 (+0100)
Subject: luci-app-openvpn: add missing allow_recursive_routing option
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0f3e1a81e9de9fffc1fd739cb1099e510bfc2b0d;p=project%2Fluci.git

luci-app-openvpn: add missing allow_recursive_routing option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
---

diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
index 2124c3d285..9e3475a302 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -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" },