diff options
Diffstat (limited to 'epan')
-rw-r--r-- | epan/wslua/wslua_capture_info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_capture_info.c b/epan/wslua/wslua_capture_info.c index b2e127b10b..996b313d1b 100644 --- a/epan/wslua/wslua_capture_info.c +++ b/epan/wslua/wslua_capture_info.c @@ -68,8 +68,8 @@ WSLUA_METAMETHOD CaptureInfo__tostring(lua_State* L) { lua_pushstring(L,"CaptureInfo pointer is NULL!"); } else { wtap *wth = fi->wth; - lua_pushfstring(L, "CaptureInfo: file_type_subtype=%d, snapshot_length=%d, pkt_encap=%d, file_tsprec='%s'", - wth->file_type_subtype, wth->snapshot_length, wth->rec.rec_header.packet_header.pkt_encap, wth->file_tsprec); + lua_pushfstring(L, "CaptureInfo: file_type_subtype=%d, snapshot_length=%d, file_encap=%d, file_tsprec='%s'", + wth->file_type_subtype, wth->snapshot_length, wth->file_encap, wth->file_tsprec); } WSLUA_RETURN(1); /* String of debug information. */ |