aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_capture_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wslua/wslua_capture_info.c')
-rw-r--r--epan/wslua/wslua_capture_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_capture_info.c b/epan/wslua/wslua_capture_info.c
index eb83a94089..7a4ca96341 100644
--- a/epan/wslua/wslua_capture_info.c
+++ b/epan/wslua/wslua_capture_info.c
@@ -424,7 +424,7 @@ static int CaptureInfoConst_get_hosts(lua_State* L) {
/* create the entry table */
lua_newtable(L);
/* addr is in network order already */
- lua_pushlstring(L, (char*)(&ipv6_hash_list_entry->addr.bytes[0]), 16);
+ lua_pushlstring(L, (char*)(&ipv6_hash_list_entry->addr[0]), 16);
lua_setfield(L, -2, "addr");
lua_pushstring(L, ipv6_hash_list_entry->name);
lua_setfield(L, -2, "name");