summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src/sockopt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src/sockopt.c')
-rw-r--r--libs/nixio/src/sockopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/nixio/src/sockopt.c b/libs/nixio/src/sockopt.c
index c7fe9c297..cede884ce 100644
--- a/libs/nixio/src/sockopt.c
+++ b/libs/nixio/src/sockopt.c
@@ -204,7 +204,7 @@ static int nixio__gso_mreq6(lua_State *L, int fd, int level, int opt, int set) {
return nixio__perror_s(L);
}
lua_pushstring(L, buf);
- lua_pushnumber(L, val.ipv6mr_interface);
+ lua_pushinteger(L, val.ipv6mr_interface);
return 2;
}
} else {