summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js2
-rw-r--r--modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js
index acca7cf8a..777a87434 100644
--- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js
+++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/network.js
@@ -113,7 +113,7 @@ L.poll(5, L.url('admin/network/iface_status', networks.join(',')), null,
var e = document.getElementById(ifc.id + '-ifc-edit');
if (e) e.disabled = true;
- var link = L.url('admin/system/packages') + '?query=luci-proto&display=available';
+ var link = L.url('admin/system/opkg') + '?query=luci-proto&display=available';
L.dom.content(d, [
E('em', _('Unsupported protocol type.')), E('br'),
E('a', { href: link }, _('Install protocol extensions...'))
diff --git a/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
index bff859bef..05689d389 100644
--- a/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/ifaces.lua
@@ -226,7 +226,7 @@ if not net:is_installed() then
function p_install.write()
return luci.http.redirect(
- luci.dispatcher.build_url("admin/system/packages") ..
+ luci.dispatcher.build_url("admin/system/opkg") ..
"?submit=1&install=%s" % net:opkg_package()
)
end