summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b48386b)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
if (s->callback)
lua_call(s->L, 1, 0);
else if (hdr->nlmsg_flags & NLM_F_MULTI)
if (s->callback)
lua_call(s->L, 1, 0);
else if (hdr->nlmsg_flags & NLM_F_MULTI)
- lua_rawseti(s->L, 3, s->index);
+ lua_rawseti(s->L, -2, s->index);
out:
s->pending = !!(hdr->nlmsg_flags & NLM_F_MULTI);
out:
s->pending = !!(hdr->nlmsg_flags & NLM_F_MULTI);