Commit graph

24768 commits

Author SHA1 Message Date
Jaap Keuter
098f95fad9 From Steve Karg:
Corrected decode of a BACnet ReadRange request with no range specified (i.e. all) 
which showed ‘malformed packet’ in the decoder.

svn path=/trunk/; revision=25269
2008-05-10 06:25:07 +00:00
Guy Harris
8d1a5fd0bd Redo the loops a bit; that fixes an uninitialized variable, and moves
the increments a bit closer to the point of use.

(XXX - is there more than one place where we turn a sequence of hex
digits into a string?  If so, we should make it a common utility.)

svn path=/trunk/; revision=25268
2008-05-09 18:45:22 +00:00
Martin Mathieson
275c415f7e Add a couple of missing HS-DSCH data frame fields.
svn path=/trunk/; revision=25267
2008-05-09 17:46:45 +00:00
Guy Harris
4567d72fdc Null-terminate the hex-to-text-converted string.
svn path=/trunk/; revision=25266
2008-05-09 16:30:05 +00:00
Guy Harris
69efaa363d sprintf() and strtoul() are massive overkill for turning a string of hex
digits into a string of characters; use g_ascii_xdigit_value() to
convert individual hex digit characters to their hex value - and check
whether it succeeds or not, so we catch invalid hex digits! - and just
append the resulting byte value to the string.

Handle the case where compute_ascii_key() fails.

svn path=/trunk/; revision=25265
2008-05-09 16:15:22 +00:00
Anders Broman
e623809550 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25264
2008-05-09 13:59:10 +00:00
Stig Bjørlykke
22ff43e0bd Fix a typo: strl -> strlen
svn path=/trunk/; revision=25263
2008-05-09 12:55:37 +00:00
Stig Bjørlykke
23b0a5d496 Include string.h
svn path=/trunk/; revision=25262
2008-05-09 12:54:49 +00:00
Anders Broman
1cc7c72db6 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25261
2008-05-09 11:59:44 +00:00
Anders Broman
8db8e90221 Use PROTO_ITEM_SET_HIDDEN().
Fix ID marking
Add checkapi to makefiles

svn path=/trunk/; revision=25260
2008-05-09 07:07:50 +00:00
Anders Broman
db6d0b9a4c Run checkAPI in plugins dir.
svn path=/trunk/; revision=25259
2008-05-08 18:24:08 +00:00
Martin Mathieson
693291377e Stop using deprecated functions identified by checkAPIs script.
svn path=/trunk/; revision=25258
2008-05-08 14:01:31 +00:00
Martin Mathieson
7e40100fb3 From Anders: Checkapi enabled for wiretap and more functions converted.
svn path=/trunk/; revision=25257
2008-05-08 09:37:11 +00:00
Martin Mathieson
723f40845e Use g_strlcpy() rather than strcpy(), strncpy().
svn path=/trunk/; revision=25256
2008-05-08 09:17:04 +00:00
Anders Broman
f6d4cd9d86 Use PROTO_ITEM_SET_HIDDEN().
svn path=/trunk/; revision=25255
2008-05-08 05:42:59 +00:00
Anders Broman
6d91aae2e1 strncpy -> g_strlcpy
svn path=/trunk/; revision=25254
2008-05-08 05:16:33 +00:00
Bill Meier
6ae1343094 Fix a few typos ....
svn path=/trunk/; revision=25253
2008-05-07 17:57:45 +00:00
Tomas Kukosa
73ae498dd0 Enable PCAP_REMOTE by default
svn path=/trunk/; revision=25252
2008-05-07 13:15:24 +00:00
Martin Mathieson
fbefbac6fa Select correct bytes range for Algorithms tree.
svn path=/trunk/; revision=25251
2008-05-07 10:22:48 +00:00
Michael Tüxen
607076675a Comment out condition which is always true (based on the
choosen data types).

svn path=/trunk/; revision=25250
2008-05-07 06:23:03 +00:00
Jaap Keuter
1cca1f8082 From Peter Kjellerstedt:
For some reason only the first eight interleaved RTSP channels are supported by 
epan/dissectors/packet-rtsp.c. This is a problem for us as one of our servers use 
the channel numbers in a round robin fashion and will thus use all 256 channels.

svn path=/trunk/; revision=25249
2008-05-07 05:58:42 +00:00
Anders Broman
3d39efc2c3 Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25248
2008-05-07 05:26:40 +00:00
Stig Bjørlykke
38f233cd99 Removed an unused break.
svn path=/trunk/; revision=25247
2008-05-06 15:12:45 +00:00
Stig Bjørlykke
cf488b0fca From Peter Kjellerstedt (bug 2521):
Add MARKER_COM to vals_marker[].

svn path=/trunk/; revision=25246
2008-05-06 09:08:52 +00:00
Anders Broman
e7cc1ee2aa Add checkapi target.
svn path=/trunk/; revision=25245
2008-05-06 06:18:26 +00:00
Anders Broman
b6454e76ac Fix some of the Errors/warnings detected by checkapi.
svn path=/trunk/; revision=25244
2008-05-06 05:50:31 +00:00
Guy Harris
31cae6e4ef Require GLib 2.4 or later.
That means that G_GINT64_MODIFIER will be defined, so don't check
whether it's defined.

We don't use the PRI[douxX]64 macros, as we use the GLib print routines
and thus use G_GINT64_MODIFIER instead.  Get rid of the checks for
whether inttypes.h defines PRI[douxX]64; just check whether it exists at
all.

That means we don't set INTTYPES_H_DEFINES_FORMATS, so don't check for
it.

svn path=/trunk/; revision=25243
2008-05-05 22:47:32 +00:00
Guy Harris
773e6321d8 Boost the automake version required to 1.9.
(Currently, configure.in also specifies the minimum autoconf and
automake versions, but the check for the automake version doesn't
produce an immediate failure - instead, you might get a flood of

	configure.in:16: option `tar-ustar' not recognized

errors *after*

	configure.in:16: require version 1.9, but have 1.x.x

and the diagnostic isn't as clear.)

svn path=/trunk/; revision=25242
2008-05-05 22:01:34 +00:00
Guy Harris
f7c4c23945 Require automake 1.9 or later; earlier versions don't support the
"tar-ustar" option.

svn path=/trunk/; revision=25241
2008-05-05 21:48:32 +00:00
Anders Broman
9cc9c92e75 Fix some of the Errors/warnings detected by checkapi,
make non ASCII char a warning for now.

svn path=/trunk/; revision=25240
2008-05-05 20:38:27 +00:00
Anders Broman
bf9ccab9cb Change depreciated function g_tree_traverse -> g_tree_foreach
svn path=/trunk/; revision=25239
2008-05-05 20:03:15 +00:00
Anders Broman
45b8ffd1ec Remove depreciated functions g_string_sprint, g_string_sprintfa.
svn path=/trunk/; revision=25238
2008-05-05 19:52:59 +00:00
Stig Bjørlykke
f51d73bb5d Handle SSID as binary in WLAN Traffic Statistics.
svn path=/trunk/; revision=25237
2008-05-05 19:35:16 +00:00
Anders Broman
bc12adaf1b Add Id tag.
svn path=/trunk/; revision=25236
2008-05-05 19:06:31 +00:00
Anders Broman
ad890397cc Don't use proto_tree_add_item_hidden().
svn path=/trunk/; revision=25235
2008-05-05 18:58:53 +00:00
Stig Bjørlykke
95a44fe52a Remove gtk/isprint.h as it's not in use.
svn path=/trunk/; revision=25234
2008-05-05 18:37:20 +00:00
Anders Broman
57ebbbbb2c Dount use proto_tree_add_item_hidden().
svn path=/trunk/; revision=25233
2008-05-05 17:19:51 +00:00
Gerald Combs
e9a197ee94 Have autoconf generate "ustar" tar files by default. This should let us have
paths longer than 99 characters.

svn path=/trunk/; revision=25232
2008-05-05 17:03:22 +00:00
Anders Broman
023a81709a Make it possible to run checkapi on all plugins trough makefile.nmake
Note: Commented out in the plugins giving errors for now.

svn path=/trunk/; revision=25231
2008-05-05 16:55:19 +00:00
Anders Broman
163d568fe6 Add depreceated glib API:s
svn path=/trunk/; revision=25230
2008-05-05 06:27:15 +00:00
Anders Broman
2db1a78da6 From Gerhard Olsson :
X25 reassembly when presenting out of order packets
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2091

svn path=/trunk/; revision=25229
2008-05-05 05:58:45 +00:00
Jörg Mayer
9e52500a6a Replace leading spaces by a TAB
svn path=/trunk/; revision=25228
2008-05-05 00:41:30 +00:00
Jörg Mayer
c62680b8eb Fix a tpyo
svn path=/trunk/; revision=25227
2008-05-05 00:39:47 +00:00
Stig Bjørlykke
b77e2466b8 Improved the WLAN Traffic Statistics:
- Added details for each network
- Added context menu for adding a filter
- Keep the selected network when capturing
- Show probe requests with broadcast ssid
- Print '.' for non-printable characters in ssid

svn path=/trunk/; revision=25226
2008-05-04 22:37:05 +00:00
Stig Bjørlykke
32a4a97c92 Corrected some unused arguments in case someone starts using them,
or just copy the code.

svn path=/trunk/; revision=25225
2008-05-04 22:29:41 +00:00
Stig Bjørlykke
c7bbc2a33a Added a hidden SSID (wlan_mgt.ssid) to be able to filter on the ssid.
svn path=/trunk/; revision=25224
2008-05-04 22:20:58 +00:00
Bill Meier
5c848fcb57 Fix for bug #2518: 'tshark -Tfields -e data' Omits Last Character of Data
svn path=/trunk/; revision=25223
2008-05-03 22:33:51 +00:00
Jaap Keuter
0d2fd70dc6 From Abhik Sarkar:
This patch adds basic support for stats to the UCP dissector using the Stats Tree API.

svn path=/trunk/; revision=25222
2008-05-03 09:49:10 +00:00
Jaap Keuter
13db732897 From Steve Karg:
Corrected packet-bvlc.c dissector which was not decoding BACnet BVLC NAK result
code text correctly.

svn path=/trunk/; revision=25221
2008-05-03 08:31:50 +00:00
Martin Mathieson
6036ca259e Initialise variable.
(sorry about the build breakage, these new message formats will be tested soon
and it looks like I forgot to compile-test the last change I made...).

svn path=/trunk/; revision=25220
2008-05-02 21:38:49 +00:00