Age | Commit message (Collapse) | Author | Files | Lines |
|
svn path=/trunk/; revision=39166
|
|
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748
svn path=/trunk/; revision=39076
|
|
Fixes a problem on Windows wherein specifying a capture file
time duration for autostop or file-switching would stop
working after some period of time.
The reason:
GetTickCount returns DWORD (unsigned int) which
wraps "every 49.7 days";
and: The GetTickCount() return value was being stored in a time_t which is
int64 on Windows;
thus:
The test for elapsed time (using signed integers) didn't work correctly after
the time had wrapped.
Fixes Bug #6280: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6280
svn path=/trunk/; revision=38921
|
|
comment.
svn path=/trunk/; revision=38785
|
|
getopt() can/should normally be found in unistd.h, so:
- When testing for getopt(), define that we HAVE_GETOPT instead of
HAVE_GETOPT_H (to avoid confusion).
- Don't attempt to include getopt.h: not all OS's have it (for example,
Solaris 9 does not).
- (All the places which need getopt already include unistd.h (if we have it).)
If this breaks things on some OS, we might need (a real) HAVE_GETOPT_H check.
svn path=/trunk/; revision=38437
|
|
In order to compile the whole project with -DG_DISABLE_DEPRECATED
the mate plugin needs to replace its usage of GMemChunk.
All other places should be clean.
svn path=/trunk/; revision=38392
|
|
since the workaround is only intended to work on windows.
svn path=/trunk/; revision=38059
|
|
svn path=/trunk/; revision=38044
|
|
is the default.
svn path=/trunk/; revision=38043
|
|
threads are enabled use them to check the recent file list. Fixes bug
3810.
svn path=/trunk/; revision=38033
|
|
some warnings from Clang.
svn path=/trunk/; revision=37934
|
|
there's no data to read.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6002
svn path=/trunk/; revision=37924
|
|
svn path=/trunk/; revision=37864
|
|
svn path=/trunk/; revision=37862
|
|
svn path=/trunk/; revision=37861
|
|
svn path=/trunk/; revision=37857
|
|
svn path=/trunk/; revision=37847
|
|
svn path=/trunk/; revision=37846
|
|
svn path=/trunk/; revision=37844
|
|
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
|
|
to dumpcap.c about keeping the errors synced.
svn path=/trunk/; revision=37805
|
|
This patch is from Irene Ruengeler.
svn path=/trunk/; revision=37804
|
|
description.
svn path=/trunk/; revision=37802
|
|
specifc. This finalizes the change of the infrastructure.
This patch is based on work by Irene Ruengeler.
svn path=/trunk/; revision=37794
|
|
IDs in one place and fixes a bug which resulted in only writing
interface ID 0 to NG enhanced packet blocks.
svn path=/trunk/; revision=37773
|
|
pcap. Add a "-P" capture option which tries to use pcap instead of
pcap-ng ("-P" seemed to be the best option but we may want to use a
different letter).
Update the documentation and release notes.
svn path=/trunk/; revision=37696
|
|
svn path=/trunk/; revision=37676
|
|
Technically, %p must be given a void * as an argument (although the
representation of pointers on all platforms we deal with is the same for
all pointed-to types).
svn path=/trunk/; revision=37675
|
|
svn path=/trunk/; revision=37662
|
|
library when no capture filter is used. Then cfilter is NULL and
capture_loop_init_filter() does not call compile_capture_filter() and
pcap_setfilter(). Providing an empty string instead of NULL works around
the problem.
svn path=/trunk/; revision=37588
|
|
svn path=/trunk/; revision=37478
|
|
svn path=/trunk/; revision=37477
|
|
check is needed.
svn path=/trunk/; revision=37445
|
|
uses this list to cleanup.
svn path=/trunk/; revision=37425
|
|
svn path=/trunk/; revision=37418
|
|
crash found by Stig.
Add debugging output to capture_cleanup_handler() on non-Windows
systems.
svn path=/trunk/; revision=37417
|
|
svn path=/trunk/; revision=37415
|
|
svn path=/trunk/; revision=37414
|
|
This should fix
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5939
svn path=/trunk/; revision=37413
|
|
we're a capture child, always report the final caputure count regardless of the
'quiet' setting. This ensures that each interface prints its statistics on a
new line, rather than the first one being printed on the same line as the
packet count in the case when we're not 'quiet'.
svn path=/trunk/; revision=37410
|
|
svn path=/trunk/; revision=37372
|
|
svn path=/trunk/; revision=37344
|
|
when capturing on multiple interfaces even if not specified
on the command line.
svn path=/trunk/; revision=37343
|
|
svn path=/trunk/; revision=37341
|
|
svn path=/trunk/; revision=37311
|
|
... and switch off debug output.
svn path=/trunk/; revision=37285
|
|
values: 1000 packets, 1 MB. Should be made configurable via
command line options.
svn path=/trunk/; revision=37284
|
|
Thank you very much for using "gulong" rather than "gsize" as the
"buffer length" argument to g_snprintf(), the fact that the
corresponding argument to snprintf() is a size_t nonwithstanding.
Developers building for LLP64 platforms such as Win32 greatly appreciate
this decision.
svn path=/trunk/; revision=37195
|
|
This patch is basedon work done by Irene Ruengeler.
This feature is considered experimental at the moment.
However, you need to use the -t command line option
to use the feature. When not providing it, the old
method will be used.
svn path=/trunk/; revision=37191
|
|
svn path=/trunk/; revision=37187
|