aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pcapio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pcapio.c b/pcapio.c
index 8fc7566298..70bbf98ebf 100644
--- a/pcapio.c
+++ b/pcapio.c
@@ -559,10 +559,6 @@ pcapng_write_enhanced_packet_block(FILE* pfile,
return FALSE;
if (!write_to_file(pfile, (const guint8*)&flags, sizeof(guint32), bytes_written, err))
return FALSE;
- option.type = OPT_ENDOFOPT;
- option.value_length = 0;
- if (!write_to_file(pfile, (const guint8*)&option, sizeof(struct option), bytes_written, err))
- return FALSE;
}
if (options_length != 0) {
/* write end of options */