diff options
author | Kristian Evensen <kristian.evensen@gmail.com> | 2018-05-29 22:27:06 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-06-11 07:10:48 +0200 |
commit | d3aa12b8ed74fd07702ed8209f858a275d38096a (patch) | |
tree | d4319fdab15c71e9a127e1fc072625a688ef03bc /applications/luci-app-firewall/luasrc/model | |
parent | 8363d0ad6cf37ef1d60f63e86ecd4aba74fde9a6 (diff) |
luci-app-firewall: Fix typo in forwards redirect
When creating a forwarding rule with protocol set to other, a user is
forwarded to the configuration page. The URL for the configuration page
contained a typo - the user was forwarded to
admin/network/firewall/redirect/cfg... and not
admin/network/firewall/forwards/cfg..., leading to a 404.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
Diffstat (limited to 'applications/luci-app-firewall/luasrc/model')
-rw-r--r-- | applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua b/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua index e61ce73cdd..5485ebf096 100644 --- a/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua +++ b/applications/luci-app-firewall/luasrc/model/cbi/firewall/forwards.lua @@ -54,7 +54,7 @@ function s.parse(self, ...) if created then m.uci:save("firewall") luci.http.redirect(ds.build_url( - "admin/network/firewall/redirect", created + "admin/network/firewall/forwards", created )) end end |