summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-webuci/src/luci.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-06-29 00:06:36 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-06-29 00:06:36 +0000
commit533d8dee9d7d0dad8443c6393886dc984b9d3c70 (patch)
tree81b77f3b624132c4d5eba662bb35c53bb9cf9a3a /libs/sgi-webuci/src/luci.c
parentb2483cf23aec066a9b83efa35d24019b04ab8bc1 (diff)
add cookie support
Diffstat (limited to 'libs/sgi-webuci/src/luci.c')
-rw-r--r--libs/sgi-webuci/src/luci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-webuci/src/luci.c b/libs/sgi-webuci/src/luci.c
index 24d4324a9c..44a44af149 100644
--- a/libs/sgi-webuci/src/luci.c
+++ b/libs/sgi-webuci/src/luci.c
@@ -160,6 +160,7 @@ static int luci_handle_req(struct httpd_plugin *p, struct http_context *ctx)
/* convert http_context data structure to lua table */
#define PUSH(x) pushvar(#x, ctx->x)
+ PUSH(cookie);
PUSH(request_method);
PUSH(server_addr);
PUSH(server_proto);