aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-08-27 00:33:09 -0700
committerGuy Harris <gharris@sonic.net>2021-08-27 00:33:09 -0700
commita21972d6b9fc620c0b87d2b711e423a19ab537a3 (patch)
tree258fba34a8a045f620475a0f04f99cf062a274dc /wiretap
parent8acd0d1151c8eef2cd7c86642c2165a386955066 (diff)
pcapng: remove some old code left behind by the previous change.
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;