diff options
Diffstat (limited to 'epan/wslua')
-rw-r--r-- | epan/wslua/wslua_dumper.c | 4 | ||||
-rw-r--r-- | epan/wslua/wslua_pinfo.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/wslua/wslua_dumper.c b/epan/wslua/wslua_dumper.c index 00779d3a6f..bf9e1eaf6f 100644 --- a/epan/wslua/wslua_dumper.c +++ b/epan/wslua/wslua_dumper.c @@ -440,10 +440,10 @@ WSLUA_METHOD Dumper_dump_current(lua_State* L) { rec.rec_header.packet_header.pkt_encap = lua_pinfo->rec->rec_header.packet_header.pkt_encap; rec.rec_header.packet_header.pseudo_header = *lua_pinfo->pseudo_header; - if (lua_pinfo->fd->flags.has_user_comment) { + if (lua_pinfo->fd->has_user_comment) { rec.opt_comment = wmem_strdup(wmem_packet_scope(), epan_get_user_comment(lua_pinfo->epan, lua_pinfo->fd)); rec.has_comment_changed = TRUE; - } else if (lua_pinfo->fd->flags.has_phdr_comment) { + } else if (lua_pinfo->fd->has_phdr_comment) { rec.opt_comment = wmem_strdup(wmem_packet_scope(), lua_pinfo->rec->opt_comment); } diff --git a/epan/wslua/wslua_pinfo.c b/epan/wslua/wslua_pinfo.c index bd441770ae..d36fbc7ba7 100644 --- a/epan/wslua/wslua_pinfo.c +++ b/epan/wslua/wslua_pinfo.c @@ -203,7 +203,7 @@ lua_delta_nstime_to_sec(const Pinfo pinfo, const frame_data *fd, guint32 prev_nu /* WSLUA_ATTRIBUTE Pinfo_visited RO Whether this packet has been already visited. */ -PINFO_NAMED_BOOLEAN_GETTER(visited,fd->flags.visited); +PINFO_NAMED_BOOLEAN_GETTER(visited,fd->visited); /* WSLUA_ATTRIBUTE Pinfo_number RO The number of this packet in the current file. */ PINFO_NAMED_NUMBER_GETTER(number,num); |