aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/pcapng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/pcapng.c b/wiretap/pcapng.c
index 5aaf3bea06..e50947b0d8 100644
--- a/wiretap/pcapng.c
+++ b/wiretap/pcapng.c
@@ -633,8 +633,7 @@ pcapng_process_uint64_option(wtapng_block_t *wblock,
*/
return;
}
- if (section_info->byte_swapped)
- uint64 = GUINT64_SWAP_LE_BE(uint64);
+
/*
* If this option can appear only once in a block, this call
* will fail on the second and later occurrences of the option;