Age | Commit message (Collapse) | Author | Files | Lines |
|
Use explicit casts.
svn path=/trunk/; revision=48457
|
|
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416
svn path=/trunk/; revision=48311
|
|
Also strengthening the checking and debug presentation.
svn path=/trunk/; revision=47060
|
|
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
sizeof.
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of
strtol() and strtoul().
Change some data types to avoid those implicit conversion warnings.
When assigning a constant to a float, make sure the constant isn't a
double, by appending "f" to the constant.
Constify a bunch of variables, parameters, and return values to
eliminate warnings due to strings being given const qualifiers. Cast
away those warnings in some cases where an API we don't control forces
us to do so.
Enable a bunch of additional warnings by default. Note why at least
some of the other warnings aren't enabled.
randpkt.c and text2pcap.c are used to build programs, so they don't need
to be in EXTRA_DIST.
If the user specifies --enable-warnings-as-errors, add -Werror *even if
the user specified --enable-extra-gcc-flags; assume they know what
they're doing and are willing to have the compile fail due to the extra
GCC warnings being treated as errors.
svn path=/trunk/; revision=46748
|
|
we couldn't since the name might not be on the heap, but it looks to me like
we're always careful to put it on the heap via a g_strdup if necessary.
Fixes some minor memory leaks.
svn path=/trunk/; revision=45814
|
|
svn path=/trunk/; revision=45016
|
|
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7219
svn path=/trunk/; revision=44460
|
|
Add a new name resolution option: whether or not use the configured (in the OS)
name resolver (e.g., DNS) to resolve network names. When this option is disabled
but network name resolution is enabled then Wireshark will resolve only those
names that it can from local sources. This includes (at least, AFAIK):
- name resolutions that Wireshark picks up on from DNS packets it decodes
- the "user hosts file" (~/.wireshark/hosts on *NIX)
- what Wireshark reads out of capture file (the PCAPNG name resolution block)
This new preference defaults to "use external resolvers" for backward
compatibility (so people turning on network name resolution will get the old
behavior).
This option can be set via Edit->Preferences and on the command line; there
remain several UIs (e.g., the "open capture file" dialog, the
View->Name Resolution menu, etc.) that don't have the new option yet.
Also expand on the "description" for the name resolution preferences: these
are used not only in the tooltips but are also written to the preferences
file. The previous text didn't include enough context when written do the
preferences file.
svn path=/trunk/; revision=43605
|
|
implicitly by the #define name and string they were defined to; not all
UATs neatly fit into any of the categories, so some of them were put
into categories that weren't obviously correct for them, and one - the
display filter macro UAT - wasn't put into any category at all (which
caused crashes when editing them, as the GUI code that handled UAT
changes from a dialog assumed the category field was non-null).
The category was, in practice, used only to decide, in the
aforementioned GUI code, whether the packet summary pane needed to be
updated or not. It also offered no option of "don't update the packet
summary pane *and* don't redissect anything", which is what would be
appropriate for the display filter macro UAT.
Replace the category with a set of fields indicating what the UAT
affects; we currently offer "dissection", which applies to most UATs
(any UAT in libwireshark presumably affects dissection at a minimum) and
"the set of named fields that exist". Changing any UAT that affects
dissection requires a redissection; changing any UAT that affects the
set of named fields that exist requires a redissection *and* rebuilding
the packet summary pane.
Perhaps we also need "filtering", so that if you change a display filter
macro, we re-filter, in case the display is currently filtered with a
display filter that uses a macro that changed.
svn path=/trunk/; revision=43603
|
|
svn path=/trunk/; revision=43583
|
|
Generic preferences implementation - Printing and Name Resolution.
svn path=/trunk/; revision=43579
|
|
(COPYING will be updated in next commit)
svn path=/trunk/; revision=43536
|
|
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748
svn path=/trunk/; revision=39081
|
|
Use File/Directory Dialog as a field type for UAT preferences.
svn path=/trunk/; revision=39059
|
|
svn path=/trunk/; revision=37684
|
|
svn path=/trunk/; revision=37230
|
|
which they're defined.
Include some header files that declare functions in the source files
that define the functions.
Declare packet_list_get_type() in gtk/packet_list_store.h, as it defines
a macro that uses that function.
svn path=/trunk/; revision=37223
|
|
functions that take no arguments, otherwise the function is treated as a
crufty old C function with undeclared arguments.
svn path=/trunk/; revision=37212
|
|
svn path=/trunk/; revision=36848
|
|
unnecessary VALS() cast
svn path=/trunk/; revision=36847
|
|
This fixes coverity 340.
svn path=/trunk/; revision=36230
|
|
svn path=/trunk/; revision=35599
|
|
the callbacks we have use that argument - is it really needed?).
svn path=/trunk/; revision=34694
|
|
From Grzegorz Głowacki <g.glowacki@wasko.pl>
svn path=/trunk/; revision=34280
|
|
Thanks to Hilko Bengen for the detailed bug report at
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=574086
svn path=/trunk/; revision=32217
|
|
Alert the user that a restart is needed when changes are made to the MIBs
configuration.
svn path=/trunk/; revision=32124
|
|
Add a callback to UAT to be called after the table has being updated,
use it to renew the snmp_ue_cache.
svn path=/trunk/; revision=32112
|
|
Add an option to enable OID resolution.
Add an option to suppress errors reported by libsmi.
svn path=/trunk/; revision=32096
|
|
Refine workaroud for preventing libsmi error.
svn path=/trunk/; revision=32017
|
|
From: Vincent Bernat <bernat@debian.org>
svn path=/trunk/; revision=32006
|
|
svn path=/trunk/; revision=31362
|
|
svn path=/trunk/; revision=31247
|
|
Apple.
svn path=/trunk/; revision=31052
|
|
bug 3163.
svn path=/trunk/; revision=30951
|
|
svn path=/trunk/; revision=30600
|
|
svn path=/trunk/; revision=30196
|
|
svn path=/trunk/; revision=30187
|
|
Avoid duplicate blurb/name.
svn path=/trunk/; revision=29014
|
|
More hf_register_info related cleanup.
svn path=/trunk/; revision=28832
|
|
svn path=/trunk/; revision=27753
|
|
g_free() is NULL safe, so we don't need check against it.
svn path=/trunk/; revision=27718
|
|
svn path=/trunk/; revision=27643
|
|
displayed to the user.
svn path=/trunk/; revision=27462
|
|
Dissector fails for OIDs with MacAddress in index.
svn path=/trunk/; revision=26746
|
|
That is: indent-tabs-mode: tabs --> indent-tabs-mode: t
Also: fix a typo: set-tabs-mode --> indent-tabs-mode
svn path=/trunk/; revision=26113
|
|
svn path=/trunk/; revision=25937
|
|
make non ASCII char a warning for now.
svn path=/trunk/; revision=25240
|
|
From LEGO:
DISSECTOR_ASSERT_NOT_REACHED() is a Bug regardless, it is triggered because we
are proto_add_item()ing an FT_UINT32 of 5 bytes in length.
IF-MIB:ifInOctets is a Counter32 so the value should (and is) application
encoded using tag 41.
the value's value (!) is H'00d49e69fa (D'3567151610).
the assertion is triggered because there's an error in oids.c:59
where states the ft_type as being an FT_UINT32 with a length of 1 to 4 bytes,
It should be FT_UINT64 and the length from 1 to 5 bytes considering that
integers bigger than 2^31 will be ber encoded in 5 bytes.
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2468
svn path=/trunk/; revision=25148
|
|
If the BER encoding should not have the top bit set as to not become a negative number
the ber encoding may take 5 octets to encode.
Fixes BUG:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2253
svn path=/trunk/; revision=25135
|
|
Fixes Bug:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2442
svn path=/trunk/; revision=25134
|