diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-02-01 08:37:54 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-02-01 08:37:54 +0000 |
commit | b1a499190e06ece71f8b74c8a1d77126cd2f6324 (patch) | |
tree | 8470338510c5b87824a2303f026aad9773026e30 /file.c | |
parent | 7d8687e8ae573ffd7a0021c6178e35a0da7651dd (diff) | |
download | wireshark-b1a499190e06ece71f8b74c8a1d77126cd2f6324.tar.gz |
we dont have auto_scroll_live if we dont have PCAP so ifdef this out unless PCAP is available
(to allow it to compile when pcap is not available)
svn path=/trunk/; revision=20662
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -462,12 +462,14 @@ cf_read(capture_file *cf) if (progbar != NULL) { /* update the packet lists content on the first run or frequently on very large files */ /* (on smaller files the display update takes longer than reading the file) */ +#ifdef HAVE_LIBPCAP if(progbar_quantum > 500000 || progbar_nextstep == 0) { packet_list_thaw(); if (auto_scroll_live && cf->plist_end != NULL) packet_list_moveto_end(); packet_list_freeze(); } +#endif g_snprintf(status_str, sizeof(status_str), "%" PRId64 "KB of %" PRId64 "KB", |