summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/root
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-14 11:12:39 +0000
committerSteven Barth <steven@midlink.org>2008-09-14 11:12:39 +0000
commit5fff612e0a051d524b5fd9d7d4a27bba1c2ea286 (patch)
treea124dddd111bc028462b152b3c9be8f9b08725ef /libs/sgi-webuci/root
parente491e675880f338c68214ce8f6ec6584d21623d9 (diff)
Make Boa IPv6-ready. Patch by Alina Friedrichsen. Thanks a lot.
Diffstat (limited to 'libs/sgi-webuci/root')
-rw-r--r--libs/sgi-webuci/root/usr/lib/boa/luci.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-webuci/root/usr/lib/boa/luci.lua b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
index 6cb019d16a..2bb9313a66 100644
--- a/libs/sgi-webuci/root/usr/lib/boa/luci.lua
+++ b/libs/sgi-webuci/root/usr/lib/boa/luci.lua
@@ -59,6 +59,7 @@ function handle_req(context)
env.REMOTE_PORT = context.remote_port
env.SERVER_ADDR = context.server_addr
env.HTTP_COOKIE = context.cookie
+ env.HTTP_ACCEPT = context.http_accept
env.SCRIPT_NAME = env.REQUEST_URI:sub(1, #env.REQUEST_URI - #env.PATH_INFO)
luci.sgi.webuci.run(env, vars)