Age | Commit message (Collapse) | Author | Files | Lines |
|
from being done on Flex-generated files, or fix the problems that pop up
on some platforms.
svn path=/trunk/; revision=21520
|
|
svn path=/trunk/; revision=21519
|
|
svn path=/trunk/; revision=21516
|
|
--enable-warnings-as-errors (if any tests enabled by
--enable-extra-gcc-checks are safe to treat as errors, they're safe to
turn on by default).
svn path=/trunk/; revision=21515
|
|
on some platforms due to unfixable problems (e.g., crappy vendor
headers), we can move them back to the "extra" list.
Put those warnings in the order in which they appear in the GCC man page
on my machine.
If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.
svn path=/trunk/; revision=21514
|
|
supports the options passed as arguments. If the options are supported, they
are added to CFLAGS.
svn path=/trunk/; revision=21493
|
|
Add -Wpointer-arith to the GCC -W flags by default.
Make "extra-gcc-checks" and "warnings-as-errors" --enable flags rather
than --with flags - autoconf's model is that --enable is for turning
features on or off, --with is for enabling or disabling the use of
external packages (libpcap, Net-SNMP, GNU ADNS, etc.).
When testing whether the compiler is GCC, use the same style all the
time - check whether "x$GCC" equals "xyes". (The "x" might be overkill
- if you don't quote the arguments, it avoids a missing argument to
"test"/"[", but if you do, it might not be needed.)
svn path=/trunk/; revision=21492
|
|
--with-extra-gcc-checks.
Unconditionally add -Wpointer-arith to GCC flags, and, if
--with-extra-gcc-checks is specified, add -Wstrict-prototypes.
svn path=/trunk/; revision=21491
|
|
Check for a case where, conceivably, the on-the-wire packet length (from
the IP header) could be shorter than the captured data length (due to
Ethernet padding), and handle it by making sure the on-the-wire length
is always >= the captured data length.
svn path=/trunk/; revision=21490
|
|
svn path=/trunk/; revision=21489
|
|
least, "int foo()" defines or declares an old-style function, not one
with no arguments.
svn path=/trunk/; revision=21488
|
|
disabled (with gcc)
svn path=/trunk/; revision=21453
|
|
generated by $(LEX) until a solution is found to compile them separately.
svn path=/trunk/; revision=21432
|
|
to actually call this (aka to handle the ambiguities of DLT values).
svn path=/trunk/; revision=21427
|
|
svn path=/trunk/; revision=21426
|
|
svn path=/trunk/; revision=21422
|
|
svn path=/trunk/; revision=21361
|
|
svn path=/trunk/; revision=21356
|
|
flags are being added.
Quote the message about flags added for the Apple linker, so it shows up
correctly.
svn path=/trunk/; revision=21355
|
|
record does not match any given one.
I noticed that these records have the first byte changed so When a lookup fails mask the byte and lookup again.
svn path=/trunk/; revision=21303
|
|
This corrects two long standing issues with the Visual
Networks file type in PPP and ML-PPP environments.
svn path=/trunk/; revision=21293
|
|
them, add -Wno-pointer-sign to CFLAGS when gcc will accept it.
svn path=/trunk/; revision=21253
|
|
for me. Also redirect its stderr to /dev/null to avoid worrying users
svn path=/trunk/; revision=21208
|
|
and once again the mighty wireshark compiles on rh71
svn path=/trunk/; revision=21206
|
|
svn path=/trunk/; revision=21200
|
|
static to the module.
Add the older(?) ID tag for MPEG audio.
Just use the ID at the beginning to identify MPEG audio files; don't
check the file any further.
If the read of the magic number doesn't work, get the error, and, if
there is no error (i.e., it's a short read), just return 0 (meaning "no
error, but this isn't that type of file).
Similarly, if the magic number doesn't match, just return 0, so other
types of file are tried.
svn path=/trunk/; revision=21192
|
|
bytes at the beginning of the file.
I added just one type of mpeg magic ("ID3") there's probably more, please add.
svn path=/trunk/; revision=21185
|
|
Comment out -Werror in plugins/asn1/ until warnings can be fixed.
svn path=/trunk/; revision=21158
|
|
(Temporarily disable the warnings as errors default on Unix to get
to get the buildbots and people with gcc40 going again until those
additional warnings gcc40 generates can be fixed-I'm working on it
ASAP)
Patch for configure.in which disables by default the treatment of
warnings as errors.
It can be enabled with './configure --with-warnings-as-errors'.
The macro will test first if GCC is present. If it's the case,
HAVE_WARNINGS_AS_ERRORS is defined. All the USING_GCC have been replaced
by HAVE_WARNINGS_AS_ERRORS.
With this switch, people won't suffer from unexpected warnings when
downloading svn sources during the transition time ;)
svn path=/trunk/; revision=21153
|
|
svn path=/trunk/; revision=21147
|
|
svn path=/trunk/; revision=21128
|
|
directory and most of the plugins to match the same command
put in the Makefile.nmake files for Windows compliations. Fix
a few warnings when compiling under gcc 3.4.4 on FreeBSD. Create
new automake file variable called USING_GCC in configure.in and
wiretap/configure.in to acomplish the above -Werror addition.
svn path=/trunk/; revision=21127
|
|
svn path=/trunk/; revision=21116
|
|
Remove compiler warnings
svn path=/trunk/; revision=21115
|
|
svn path=/trunk/; revision=21113
|
|
Wiretap support to read MPEG files
svn path=/trunk/; revision=21112
|
|
svn path=/trunk/; revision=21079
|
|
wiretap
remove all compiler warnings:
a) prevent wrong malloc/free definitions by lex/yacc generated files
b) add int/time_t casts - MSVC2005 is more "sensitive" about this than MSVC6
svn path=/trunk/; revision=21078
|
|
defined)
svn path=/trunk/; revision=21052
|
|
svn path=/trunk/; revision=21045
|
|
add another interface record type with the very same arch than the "old" one.
now I can read all the K15 files I got.
svn path=/trunk/; revision=21044
|
|
be able to read files with records larger than 0x2000 bytes
this fixes http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=532
svn path=/trunk/; revision=21043
|
|
svn path=/trunk/; revision=21013
|
|
release notes accordingly.
svn path=/trunk/; revision=20990
|
|
svn path=/trunk/; revision=20838
|
|
In the attached patch, the K12 wiretap now saves the content of record
after captured packet data. The K12 dissector then could extract them and provide
useful information to properly dissect FP frames (user plane of UTRAN Iub
interface).
svn path=/trunk/; revision=20749
|
|
Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
I discovered that Wireshark K12xx detects the type of input (E1 timeslot or ATM)
based on the extra information. My previous patch to enable Wireshark to open
K12xx files with no extra information (extra_len equals 0 in SRCDEST record)
failed to give later dissectors the input type.
Attached is the patch to correct this for ATM PVC. It adds VPI/VCI/CID information
for display in the dissected tree (in k12_open function). k12_read and k12_seek_read
are also made more robust. These are reverse engineered based on hexeditor
and constants found in tektronix configuration file. Please apply the patch.
svn path=/trunk/; revision=20705
|
|
would require to change ALL makefiles - the buildbot revealed it), simply put it in the wiretap generation. As wiretap is mandatory and one of the first things to be build this doesn't even sound like a bad idea anyway ...
svn path=/trunk/; revision=20646
|
|
Modified to support the header as a pseudo_header rather than as part of
the packet data.
Fixed some calls that fetch data from the USB packet to fetch it in
little-endian byte order.
Got rid of redundant code to get conversation-specific data (the
get_usb_conv_info() call already does that).
For control packets, only parse the setup information if setup_flag is
0.
Don't interpret a control packet as a standard request unless the setup
type is "Standard".
svn path=/trunk/; revision=20632
|
|
I found out the reason Wireshark refuses to read some .rf file I have.
Those files have zero extra_len in SRCDEST header structure. See the
attached file for example. It was created by selecting some frames from
a larger .rf5 file (within Tektronix's own reader) and save as a
separate file.
svn path=/trunk/; revision=20579
|