projects
/
project
/
uci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a51c515
)
add .anonymous attribute for uci sections in lua
author
Felix
<nbd@openwrt.org>
Sun, 24 Aug 2008 15:35:29 +0000
(17:35 +0200)
committer
Felix
<nbd@openwrt.org>
Sun, 24 Aug 2008 15:35:29 +0000
(17:35 +0200)
lua/uci.c
patch
|
blob
|
history
diff --git
a/lua/uci.c
b/lua/uci.c
index e833b8698499cb1a205972eba39ef2bd1f82db6b..f87ce271adf5982cecc223285defbf5e1e5d8b41 100644
(file)
--- a/
lua/uci.c
+++ b/
lua/uci.c
@@
-175,6
+175,8
@@
static void uci_push_section(lua_State *L, struct uci_section *s)
struct uci_element *e;
lua_newtable(L);
+ lua_pushboolean(L, s->anonymous);
+ lua_setfield(L, -2, ".anonymous");
lua_pushstring(L, s->type);
lua_setfield(L, -2, ".type");
lua_pushstring(L, s->e.name);