From a21972d6b9fc620c0b87d2b711e423a19ab537a3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 27 Aug 2021 00:33:09 -0700 Subject: pcapng: remove some old code left behind by the previous change. --- wiretap/pcapng.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'wiretap') 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; -- cgit v1.2.3