aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorChris Maynard <Christopher.Maynard@GTECH.COM>2013-10-25 12:51:16 +0000
committerChris Maynard <Christopher.Maynard@GTECH.COM>2013-10-25 12:51:16 +0000
commit62b66aca7c3b8156524acc13ba3f485d2d6de3c8 (patch)
treeef42d303c0a327f0689c0d432a8bee7e7e6c520a /tshark.c
parentcf1f098afb11c3e180dfe1d03b9b5d77d5aeea60 (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.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/tshark.c b/tshark.c
index a6924015fd..0f82a52c67 100644
--- a/tshark.c
+++ b/tshark.c
@@ -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;