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>
This commit is contained in:
parent
8363d0ad6c
commit
d3aa12b8ed
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue