diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-10-25 12:51:16 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2013-10-25 12:51:16 +0000 |
commit | 62b66aca7c3b8156524acc13ba3f485d2d6de3c8 (patch) | |
tree | ef42d303c0a327f0689c0d432a8bee7e7e6c520a /tshark.c | |
parent | cf1f098afb11c3e180dfe1d03b9b5d77d5aeea60 (diff) |
Display the frame number on the packet summary line if it's one of the configured columns. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9317
#BACKPORT(1.10,1.8)
svn path=/trunk/; revision=52838
Diffstat (limited to 'tshark.c')
-rw-r--r-- | tshark.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -3542,21 +3542,6 @@ print_columns(capture_file *cf) continue; switch (cf->cinfo.col_fmt[i]) { case COL_NUMBER: -#ifdef HAVE_LIBPCAP - /* - * Don't print this if we're doing a live capture from a network - * interface - if we're doing a live capture, you won't be - * able to look at the capture in the future (it's not being - * saved anywhere), so the frame numbers are unlikely to be - * useful. - * - * (XXX - it might be nice to be able to save and print at - * the same time, sort of like an "Update list of packets - * in real time" capture in Wireshark.) - */ - if (global_capture_opts.ifaces->len > 0) - continue; -#endif column_len = col_len = strlen(cf->cinfo.col_data[i]); if (column_len < 3) column_len = 3; |