diff options
Diffstat (limited to 'wiretap/pppdump.c')
-rw-r--r-- | wiretap/pppdump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/wiretap/pppdump.c b/wiretap/pppdump.c index 7c72ccf74f..1ce6368fa0 100644 --- a/wiretap/pppdump.c +++ b/wiretap/pppdump.c @@ -320,6 +320,7 @@ pppdump_set_phdr(wtap_rec *rec, int num_bytes, direction_enum direction) { rec->rec_type = REC_TYPE_PACKET; + rec->block = wtap_block_create(WTAP_BLOCK_PACKET); rec->rec_header.packet_header.len = num_bytes; rec->rec_header.packet_header.caplen = num_bytes; rec->rec_header.packet_header.pkt_encap = WTAP_ENCAP_PPP_WITH_PHDR; |