luci-app-openvpn: add route_nopull (#560)
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 30 Nov 2015 06:58:22 +0000 (07:58 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 30 Nov 2015 06:58:34 +0000 (07:58 +0100)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua

index fa1530026a60fa7e908a019285e7ac02c78d3025..1508493f3e5f71643fff7d49821c02cb35d0213d 100644 (file)
@@ -74,6 +74,7 @@ local knownParams = {
                { Value,                "route_gateway",                                "10.234.1.1",                                                                                                   translate("Specify a default gateway for routes") },
                { Value,                "route_delay",                                  0,                                                                                                                              translate("Delay n seconds after connection") },
                { Flag,                 "route_noexec",                                 0,                                                                                                                              translate("Don't add routes automatically") },
+               { Flag,                 "route_nopull",                                 0,                                                                                                                              translate("Don't pull routes automatically") },
 
                { ListValue,    "mtu_disc",                                             { "yes", "maybe", "no" },                                                                               translate("Enable Path MTU discovery") },
                { Flag,                 "mtu_test",                                             0,                                                                                                                              translate("Empirically measure MTU") },