summaryrefslogtreecommitdiffhomepage
path: root/module/public-core
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-07 20:23:42 +0000
committerSteven Barth <steven@midlink.org>2008-05-07 20:23:42 +0000
commit4264e6b7808066686223d0294bd01a84659f9f38 (patch)
tree4c8a26aaf40560d76cf87c85cbded37c41a49086 /module/public-core
parent54d92ebab5f402409b26a28994ed9309e47c4b41 (diff)
* Last API changes before 0.4 API softfreeze
Diffstat (limited to 'module/public-core')
-rw-r--r--module/public-core/src/view/sudo_status/iwconfig.htm2
-rw-r--r--module/public-core/src/view/sudo_status/iwscan.htm2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/public-core/src/view/sudo_status/iwconfig.htm b/module/public-core/src/view/sudo_status/iwconfig.htm
index 92371ef603..6f5dede700 100644
--- a/module/public-core/src/view/sudo_status/iwconfig.htm
+++ b/module/public-core/src/view/sudo_status/iwconfig.htm
@@ -1,5 +1,5 @@
<%
-ffluci.http.set_content_type("text/plain")
+ffluci.http.prepare_content("text/plain")
for k, v in pairs(ffluci.sys.wifi.getiwconfig()) do
%>
<tr>
diff --git a/module/public-core/src/view/sudo_status/iwscan.htm b/module/public-core/src/view/sudo_status/iwscan.htm
index f4268574bc..6f321ae9e2 100644
--- a/module/public-core/src/view/sudo_status/iwscan.htm
+++ b/module/public-core/src/view/sudo_status/iwscan.htm
@@ -1,5 +1,5 @@
<%
-ffluci.http.set_content_type("text/plain")
+ffluci.http.prepare_content("text/plain")
for iface, cells in pairs(ffluci.sys.wifi.iwscan()) do
for i, cell in ipairs(cells) do
%>