aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wslua/wslua_file.c')
-rw-r--r--epan/wslua/wslua_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wslua/wslua_file.c b/epan/wslua/wslua_file.c
index 4c43a95a2f..5beaafa9b2 100644
--- a/epan/wslua/wslua_file.c
+++ b/epan/wslua/wslua_file.c
@@ -477,7 +477,7 @@ static int File_get_compressed(lua_State* L) {
if (file_is_reader(f)) {
lua_pushboolean(L, file_iscompressed(f->file));
} else {
- lua_pushboolean(L, f->wdh->compressed);
+ lua_pushboolean(L, f->wdh->compression_type != WTAP_UNCOMPRESSED);
}
return 1;
}