summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-firewall/htdocs
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-10-31 14:37:07 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-01 12:03:33 +0100
commit37b6092aef9f875b95debdafba7da9933fc10a34 (patch)
tree34ab08a070c788d515bcbd4274cd12a714864c1b /applications/luci-app-firewall/htdocs
parent5ff35d8be44f5fb9d4711cfc9ea1c478577a3e0a (diff)
luci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHints
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-firewall/htdocs')
-rw-r--r--applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js2
-rw-r--r--applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
index 80938711e..dc2249275 100644
--- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
+++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
@@ -74,7 +74,7 @@ function forward_via_txt(s) {
return L.view.extend({
callHostHints: rpc.declare({
- object: 'luci',
+ object: 'luci-rpc',
method: 'getHostHints',
expect: { '': {} }
}),
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
index 6df3bc7f8..f40e0c73e 100644
--- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
+++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js
@@ -111,7 +111,7 @@ function rule_target_txt(s) {
return L.view.extend({
callHostHints: rpc.declare({
- object: 'luci',
+ object: 'luci-rpc',
method: 'getHostHints',
expect: { '': {} }
}),