forked from osmocom/wireshark
If we explicitly started a new page, print a column header line if necessary.
Change-Id: I9be7b41ce5ec5ece502035d0ca7c0fbb3eb3b37d Ping-Bug: 14960 Reviewed-on: https://code.wireshark.org/review/28672 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
325b033ca4
commit
3e2d3837dd
7
file.c
7
file.c
|
@ -2314,6 +2314,13 @@ print_packet(capture_file *cf, frame_data *fdata, wtap_rec *rec,
|
|||
if (args->print_formfeed) {
|
||||
if (!new_page(args->print_args->stream))
|
||||
goto fail;
|
||||
|
||||
/*
|
||||
* Print another header line if we print a packet summary on the
|
||||
* new page.
|
||||
*/
|
||||
if (args->print_args->print_col_headings)
|
||||
args->print_header_line = TRUE;
|
||||
} else {
|
||||
if (args->print_separator) {
|
||||
if (!print_line(args->print_args->stream, 0, ""))
|
||||
|
|
Loading…
Reference in New Issue