| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=42012
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
and r39501:
Setting _XOPEN_SOURCE to 600 is only allowed on Solaris 10 if the compiler is
set to C99 mode. Conversely (and as reported in the bug), simply defining it
(but with no value) is not allowed if the compiler *is* compiling to C99.
So, don't define _XOPEN_SOURCE at all on Solaris. Keep defining it as 600 on
other OS's as (also) requested in that bug.
Maybe there's a cleaner way to do this but all of this is a "trickery" mess
anyway...
svn path=/trunk/; revision=41182
|
|
|
|
|
|
|
|
| |
Solaris doesn't like _XOPEN_SOURCE being defined but with no value, at least
when being compiled in C99-mode. So set it to 600 (XPG6); hopefully this
won't break any other systems.
svn path=/trunk/; revision=39501
|
|
|
|
|
|
| |
Corrected IP address with text2pcap -i option on big endian machines.
svn path=/trunk/; revision=39215
|
|
|
|
|
|
| |
Make ASCII text dump identification optional.
svn path=/trunk/; revision=38886
|
|
|
|
| |
svn path=/trunk/; revision=38884
|
|
|
|
| |
svn path=/trunk/; revision=38703
|
|
|
|
|
|
|
|
| |
text2pcap.c: In function ‘parse_token’:
text2pcap.c:1076: warning: cast from pointer to integer of different size
text2pcap.c:1076: warning: cast from pointer to integer of different size
svn path=/trunk/; revision=38702
|
|
|
|
|
|
|
| |
Enhancement of text2cap for parsing flexibility.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1723
svn path=/trunk/; revision=38679
|
|
|
|
| |
svn path=/trunk/; revision=38449
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Remove our local strerror implementation.
Mark strerror as locale unsafe API.
This fixes bug 5715.
svn path=/trunk/; revision=37812
|
|
|
|
| |
svn path=/trunk/; revision=37372
|
|
|
|
|
|
| |
Reported by Matthias Wellmeyer.
svn path=/trunk/; revision=36471
|
|
|
|
| |
svn path=/trunk/; revision=36410
|
|
|
|
| |
svn path=/trunk/; revision=36408
|
|
|
|
|
|
|
|
|
| |
options)
g_ntohs() & friends may be (are ?) macros and may (will ?) eval args more than once ...
svn path=/trunk/; revision=36272
|
|
|
|
|
|
|
| |
UTF-8 where we don't already do so. In Wireshark use g_utf16_to_utf8
instead of utf_16to8. This should fix bug 5520.
svn path=/trunk/; revision=35411
|
|
|
|
|
|
|
|
| |
"[...] Source MAC must not be a group address: IEEE 802.3-2002, Section 3.2.3(b)"
Specifically: use 0a:01:01:01:01:01 and 0a:02:02:02;02:02 (and dummy IP addresses
10.1.1.1 and 10.2.2.2).
svn path=/trunk/; revision=34571
|
|
|
|
| |
svn path=/trunk/; revision=33012
|
|
|
|
|
|
|
|
|
|
| |
This patch adds a #include "svnversion.h" statement to the capinfos.c and
text2pcap.c files so that their usage() functions will display the SVNVERSION
and SVNPATH infos (if defined).
See Bug #4360 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4360)
svn path=/trunk/; revision=31382
|
|
|
|
|
|
|
| |
are 1 hour more than timestamps in txt
svn path=/trunk/; revision=31195
|
|
|
|
|
|
| |
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.
svn path=/trunk/; revision=30370
|
|
|
|
|
|
| |
well. Add the repository path to the version strings.
svn path=/trunk/; revision=29171
|
|
|
|
| |
svn path=/trunk/; revision=28334
|
|
|
|
| |
svn path=/trunk/; revision=28065
|
|
|
|
|
|
|
|
|
|
| |
about how dereferencing a type-punned pointer will break strict-aliasing rules
when calling localtime().
Make ts_sec in text2pcap's definition of a PCAP record header unsigned to match
that in libpcap.h .
Cast the time_t into guint32 as necessary.
svn path=/trunk/; revision=26242
|
|
|
|
|
|
|
| |
APIs we use declared. We still need to define __EXTENSIONS__ on
Solaris, in order to get strptime() declared.
svn path=/trunk/; revision=25426
|
|
|
|
|
|
|
|
|
| |
libwireshark (and the plugins using those functions) do not depend on
wiretap on Windows.
While doing that, rename the eth_* functions to ws_*.
svn path=/trunk/; revision=25354
|
|
|
|
| |
svn path=/trunk/; revision=25284
|
|
|
|
| |
svn path=/trunk/; revision=24526
|
|
|
|
|
|
| |
Enhancement to allow dec option when parsing offset.
svn path=/trunk/; revision=24272
|
|
|
|
| |
svn path=/trunk/; revision=24258
|
|
|
|
|
|
|
|
|
|
|
| |
Fix for http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2183
Strptime function is not properly included. It needs __USE_XOPEN macro, but it
is defined in wrong place. It must be defined before _any_ include file.
Otherwise I get "implicit declaration of function `strptime`" (gcc 4.3.0).
svn path=/trunk/; revision=24044
|
|
|
|
| |
svn path=/trunk/; revision=23207
|
|
|
|
|
|
| |
Fixes bug #1836.
svn path=/trunk/; revision=22916
|
|
|
|
|
|
| |
debug option used
svn path=/trunk/; revision=22902
|
|
|
|
| |
svn path=/trunk/; revision=22852
|
|
|
|
| |
svn path=/trunk/; revision=22574
|
|
|
|
|
|
| |
should fix rev21508
svn path=/trunk/; revision=21511
|
|
|
|
|
|
|
| |
already #defined to 1, so this would create a warning/error.
svn path=/trunk/; revision=21508
|
|
|
|
|
|
|
| |
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.
svn path=/trunk/; revision=21253
|
|
|
|
|
|
|
| |
Comment out -Werror in plugins/asn1/ until warnings can be fixed.
svn path=/trunk/; revision=21158
|
|
|
|
| |
svn path=/trunk/; revision=21098
|
|
|
|
| |
svn path=/trunk/; revision=18235
|
|
|
|
| |
svn path=/trunk/; revision=18197
|
|
|
|
|
|
|
|
|
|
|
|
| |
system. Just call it "usage()".
Also, it doesn't use the "progname" argument - it doesn't need to, it's
text2pcap-specific, and it prefers to call it "Text2pcap" anyway (and,
besides, argv[0] might well be a pathname). Get rid of that argument.
Fix some white space.
svn path=/trunk/; revision=17431
|
|
|
|
| |
svn path=/trunk/; revision=16999
|
|
|
|
| |
svn path=/trunk/; revision=15015
|
|
|
|
|
|
|
|
|
| |
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.
svn path=/trunk/; revision=11400
|