Age | Commit message (Collapse) | Author | Files | Lines |
|
Remove unused NEED_G_ASCII_STRTOULL_H
svn path=/trunk/; revision=52385
|
|
two lists is itself NULL.
svn path=/trunk/; revision=52181
|
|
svn path=/trunk/; revision=52179
|
|
svn path=/trunk/; revision=52176
|
|
for that.
svn path=/trunk/; revision=52115
|
|
svn path=/trunk/; revision=52104
|
|
We should read the services file in initialize_services instead.
svn path=/trunk/; revision=52103
|
|
Ref https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9082
Since this commit the IP (source and destination) address in the GUI will be
replaced with some date after I click on the entry, reverting this commit fixes
the problem.
This looks like a memory corruption. I imported an older pcap file.
svn path=/trunk/; revision=51579
|
|
svn path=/trunk/; revision=51577
|
|
test suite failures.
svn path=/trunk/; revision=51447
|
|
[ 6%] Building C object epan/CMakeFiles/epan.dir/addr_resolv.c.o
/home/jmayer/work/wireshark/svn/trunk/epan/addr_resolv.c:1927:1: error: unused function
'get_ipxnetbyname' [-Werror,-Wunused-function]
get_ipxnetbyname(const gchar *name)
^
/home/jmayer/work/wireshark/svn/trunk/epan/addr_resolv.c:2009:1: error: unused function
'add_ipxnet_name' [-Werror,-Wunused-function]
by #if 0/#endif the functions. If they really are not needed any more
they should be removed.
svn path=/trunk/; revision=51438
|
|
svn path=/trunk/; revision=51437
|
|
svn path=/trunk/; revision=51436
|
|
svn path=/trunk/; revision=51415
|
|
since it's used in several places. Don't allocate a key just to do a hash-table
lookup, we only need to do that if we're actually inserting. Fixes another ~1KB
of leaks.
svn path=/trunk/; revision=51364
|
|
duplicates (it does). Fixes about 2KB of leaks.
svn path=/trunk/; revision=51363
|
|
- if we find a name during lookup, return it even if it's not a dummy
- read personal hosts after global hosts so that they take precedence
Neither of these problems appear to be new - the recent work did not change this
logic, so I have no idea how come name resolution wasn't failing before, but I
guess the old hash table was weirder than I thought...
svn path=/trunk/; revision=51326
|
|
svn path=/trunk/; revision=51319
|
|
svn path=/trunk/; revision=51301
|
|
Also tweak some ifdefs of function signatures. The multiple braces were
confusing my folder and my indenter, so ifdef *only* the changed parameters and
leave the bracing alone. This has the benefit of being a bit clearer too, I
think.
svn path=/trunk/; revision=51291
|
|
tables.
svn path=/trunk/; revision=51290
|
|
svn path=/trunk/; revision=51207
|
|
the various name resolvers; put those two routines next to each other.
Add generic addr_resolv_init() and addr_resolv_cleanup() routines which call
all of those internal routines.
Call the generic init/cleanup routine from epan_init() and epan_cleanup().
Create the hash tables for each name resolver in those initialization routines
in order to avoid having to repeatedly check if the table is already created
or not (and to avoid glib warnings if we neglected to perform that check):
http://www.wireshark.org/lists/wireshark-dev/201308/msg00012.html
Don't clean up hostnames in init_dissection(): it's done already in cleanup_dissection().
Don't initialize hostnames in cleanup_dissection(): it's done already in init_dissection().
svn path=/trunk/; revision=51191
|
|
calls to getservbyport() for all unresolved ports.
svn path=/trunk/; revision=51170
|
|
cases; set it before we do the hash table lookup. Don't initialize
serv_proto to null when we declare it - that covers up cases where we
fail to set it correctly.
Clean up indentation.
svn path=/trunk/; revision=51164
|
|
this fixes
CC libwireshark_la-addr_resolv.lo
addr_resolv.c: In function 'serv_name_lookup':
addr_resolv.c:666:3: error: logical 'or' of collectively exhaustive tests is always true [-Werror=logical-op]
svn path=/trunk/; revision=51160
|
|
svn path=/trunk/; revision=51155
|
|
with resolution. SCTP and DCCP should perhaps be splited out to their own tables.
svn path=/trunk/; revision=51153
|
|
the same situation as Jeff (http://www.wireshark.org/lists/wireshark-dev/201308/msg00012.html), but tshark is complaining so I can't do fuzz-testing.
Also corrected copy/pasteo when cleaning up eth_hashtable.
svn path=/trunk/; revision=51133
|
|
Mark an unused parameter as such.
#if out a currently unused function.
svn path=/trunk/; revision=51121
|
|
svn path=/trunk/; revision=51120
|
|
Currently broken get_ether_addr().
- Show hastable content in address dlg.(temp solution).
svn path=/trunk/; revision=51119
|
|
svn path=/trunk/; revision=51118
|
|
of a result.
svn path=/trunk/; revision=51088
|
|
in order to fix the compile error
addr_resolv.c:1250:1: error: 'hash_eth_wka' defined but not used
[-Werror=unused-function]
svn path=/trunk/; revision=51085
|
|
known addresses).
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9000
svn path=/trunk/; revision=51084
|
|
postive value, and not specifically -1, 0, or 1, so even though we know that's what wsutil's inet_pton will return, we shouldn't test against those exact values.
svn path=/trunk/; revision=50670
|
|
there and moving it avoids having to recompile the file for use in editcap and capinfos (which don't link against libwireshark).
svn path=/trunk/; revision=50598
|
|
Use it in subnet_mask_lookup_init().
svn path=/trunk/; revision=50527
|
|
(calling getservbyname() is really slow, but only called once per port
number...)
svn path=/trunk/; revision=49953
|
|
addresses; they look weird, and can cause problems with existing
versions of Wireshark when written in a Name Resolution Block.
Should fix bug 8763.
svn path=/trunk/; revision=49852
|
|
file. That should be loaded no matter what if we have name resolution
enabled.
Add a name resolution test suite. Currently disabled until I can test it
on Windows.
svn path=/trunk/; revision=49657
|
|
description before the name+type since that's presumably what people
are looking for.
svn path=/trunk/; revision=49622
|
|
the address resolution tables.
Showed up with https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8670
although I doubt it's the cause of the crash.
svn path=/trunk/; revision=49413
|
|
that directory since 2001 and reading from that directory was only left in for
backwards compatibility with versions prior to r4702. I think it's now safe
to remove that backwards compatibility.
This eliminates the last argument of get_persconffile_path().
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8437
svn path=/trunk/; revision=48797
|
|
numbers in adns_init() and adns_submit().
(I haven't checked how long these enums have been there; hopefully for a long
time.)
svn path=/trunk/; revision=48549
|
|
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=48383
|
|
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416
svn path=/trunk/; revision=48356
|
|
for a preferences module. Use it to fill in the remaining preferences.
Don't show the printing preferences since they're not used here.
Change the titles and tooltips for some of the name resolution
preferences.
Disable the capture preferences if we can't capture. This is different
from the GTK+ version which hides it completely.
Thus concludes the preferences dialog (for the time being).
svn path=/trunk/; revision=47545
|