add cookie support
[project/luci.git] / libs / sgi-webuci / src / luci.c
index 24d4324..44a44af 100644 (file)
@@ -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);