Jörg Mayer
b6cffe4050
- Add an AC macro to test linker flags.
...
- Test whether the linker supports --as-needed and if so,
adds it to LDFLAGS
svn path=/trunk/; revision=29327
2009-08-07 18:49:24 +00:00
Jörg Mayer
952cbd7902
* Tue May 26 2009 cmorve69@yahoo.es
...
- made it compile with --as-needed
This patch was taken from the opensuse wireshark.spec file.
No thanks go to the author and the package maintainers of
this package for not sending this upstream - it would have
made it into 1.2.0.
svn path=/trunk/; revision=29326
2009-08-07 18:47:56 +00:00
Jörg Mayer
d9531723b5
- Add rfc number comments on not-yet-decoded options
...
- Decode autoconfigure option
svn path=/trunk/; revision=29325
2009-08-07 18:45:06 +00:00
Kovarththanan Rajaratnam
8bc2261d24
Back out r29323. The non fully qualified path seems to work for everyone else so don't mess with it.
...
svn path=/trunk/; revision=29324
2009-08-07 14:01:44 +00:00
Kovarththanan Rajaratnam
cdf7fda658
Use fully qualified path to bash
...
svn path=/trunk/; revision=29323
2009-08-07 13:18:02 +00:00
Kovarththanan Rajaratnam
d2b61c0297
Free frame data slice on file reset
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3813
svn path=/trunk/; revision=29322
2009-08-07 12:15:46 +00:00
Gerald Combs
367bcb7abd
Clean up the last two DIRTY_DISSECTOR_SRC entries.
...
svn path=/trunk/; revision=29321
2009-08-07 00:15:35 +00:00
Bill Meier
3c1bc8f251
Fix some individual cases of 'if (unsigned) < 0'
...
svn path=/trunk/; revision=29320
2009-08-06 23:51:45 +00:00
Bill Meier
4acb789917
'if (curr_len <= 0)' won't work as desired when curr_len is declared as unsigned.
...
The fix: change to 'if ((signed)curr_len <= 0)'.
This is a bit of a hack but I think it works.
See the comment in this file (packet-gsm_a_common.h).
svn path=/trunk/; revision=29319
2009-08-06 23:47:21 +00:00
Guy Harris
c3aaf166c6
Those items are 32 bits or longer, so the cast should be safe; add an
...
additional cast in the hopes that they squelch "dereferencing
type-punned pointer" warnings.
svn path=/trunk/; revision=29318
2009-08-06 23:26:24 +00:00
Michael Tüxen
8fcdcbd14f
packet-sctp.c seems to be clean (at least it is on Mac OS X).
...
svn path=/trunk/; revision=29317
2009-08-06 22:26:05 +00:00
Stig Bjørlykke
0776b9c0a1
Added new_packet_list_set_font() and initialize fonts when using
...
new packet list.
svn path=/trunk/; revision=29316
2009-08-06 22:06:37 +00:00
Michael Tüxen
191709f6af
Get it compiling when HAVE_LIBGCRYPT is not defined.
...
svn path=/trunk/; revision=29315
2009-08-06 21:55:10 +00:00
Bill Meier
b38516fbd9
Fix some indentation and spacing
...
svn path=/trunk/; revision=29314
2009-08-06 21:42:40 +00:00
Gerald Combs
85f68c7461
Fix compilation warnings in a few dissectors and try moving them to the
...
"clean" list.
svn path=/trunk/; revision=29313
2009-08-06 20:55:04 +00:00
Bill Meier
21d8e2d3e1
Prevent possible (benign ?) array references with an array index of -1.
...
svn path=/trunk/; revision=29312
2009-08-06 18:44:38 +00:00
Bill Meier
eba5297683
Remove inadvertantly committed comments re issue yet to be fixed ...
...
svn path=/trunk/; revision=29311
2009-08-06 16:13:31 +00:00
Bill Meier
413e64f1a6
Register ett[] subtree array only once.
...
svn path=/trunk/; revision=29310
2009-08-06 16:10:29 +00:00
Bill Meier
7f7161f819
Register ett[] subtree array only once.
...
svn path=/trunk/; revision=29309
2009-08-06 16:06:11 +00:00
Gerald Combs
595f9b6630
Convert a GString to an ep_strbuf_t (and squelch a static analysis
...
warning in the process). Remove an unused variable.
svn path=/trunk/; revision=29308
2009-08-05 19:03:48 +00:00
Jaap Keuter
b5aa261da6
From Gerasimos Dimitriadis:
...
Fixes/enhances the decoding of the Mobile Identity IE for type of identity
"TMGI and optional MBMS Session Identity".
svn path=/trunk/; revision=29307
2009-08-05 18:42:45 +00:00
Jaap Keuter
8787b8ecc8
Fix for bug 3811:
...
Add missing shorthand application/vnd.ms-sync besides application/vnd.ms-sync.wbxml.
svn path=/trunk/; revision=29306
2009-08-05 18:21:52 +00:00
Jaap Keuter
5c57e015d4
From Ivan Sy:
...
Add support for Support for DHCID RR (RFC 4701).
svn path=/trunk/; revision=29305
2009-08-05 18:17:18 +00:00
Gerald Combs
65be9b68bd
Squelch a couple of Clang Static Analyzer warnings.
...
svn path=/trunk/; revision=29304
2009-08-05 15:39:29 +00:00
Martin Mathieson
92b2bcf28a
Show power headroom report inside its own subtree.
...
svn path=/trunk/; revision=29303
2009-08-05 08:02:12 +00:00
Jaap Keuter
203269175e
Fix for bug 3806:
...
Add presentation of Block Ack Bitmap.
svn path=/trunk/; revision=29302
2009-08-05 07:33:44 +00:00
Gerald Combs
931a750908
Add a couple of pointer checks.
...
svn path=/trunk/; revision=29301
2009-08-05 00:36:27 +00:00
Guy Harris
3d1e81ff3d
Fix typo.
...
svn path=/trunk/; revision=29300
2009-08-05 00:13:38 +00:00
Guy Harris
6847b0b94d
Put the initializers for the elements of value_string arrays into curly
...
brackets, so the API checks for non-terminated value_string arrays will
not falsely think the arrays are non-terminated.
svn path=/trunk/; revision=29299
2009-08-04 23:14:40 +00:00
Jaap Keuter
c9e3f66d14
Optimize empty strings to NULL pointers.
...
svn path=/trunk/; revision=29298
2009-08-04 21:05:38 +00:00
Bill Meier
d0f569953d
Fix benign double subtree registration of an ett_... variable.
...
svn path=/trunk/; revision=29297
2009-08-04 19:29:42 +00:00
Bill Meier
8589c2f11b
Minor changes:
...
- Move proto_register...() to the end of the file as per convention;
- Move ett[] to be local to proto_register...();
- "if (...==-1)" not req'd in proto_register...();
- #include <moduleinfo.h> not req'd;
- Remove unneeded forward declarations.
svn path=/trunk/; revision=29296
2009-08-04 19:01:34 +00:00
Bill Meier
cb7dac7100
Initialize several ett_... variables to -1
...
svn path=/trunk/; revision=29295
2009-08-04 18:52:01 +00:00
Bill Meier
90e865cc54
Init ett_... variables to -1
...
svn path=/trunk/; revision=29294
2009-08-04 18:48:45 +00:00
Bill Meier
8ffaa3b880
Remove duplicate entry from ett[]
...
svn path=/trunk/; revision=29293
2009-08-04 18:46:51 +00:00
Guy Harris
b6660d06bf
Clean up white space a bit - use 2-space indenting.
...
Put a bunch of code that does nothing unless data_val is non-null inside
"if (data_val)", and get rid of the individual tests.
svn path=/trunk/; revision=29292
2009-08-04 18:39:43 +00:00
Gerald Combs
49c58bc1a4
Miscellaneous cleanups.
...
svn path=/trunk/; revision=29291
2009-08-04 17:59:48 +00:00
Martin Mathieson
fef272347b
Show number of predefined bytes in info column.
...
svn path=/trunk/; revision=29290
2009-08-04 10:41:08 +00:00
Jörg Mayer
45ab8d50d2
Warning fix: comma at end of enum
...
svn path=/trunk/; revision=29289
2009-08-04 07:50:49 +00:00
Gerald Combs
d574a2450b
Don't exit with an error if we can't find the svn executable.
...
svn path=/trunk/; revision=29288
2009-08-04 00:35:30 +00:00
Gerald Combs
87c095780a
Rework an assignment to keep static analyzers from complaining.
...
svn path=/trunk/; revision=29287
2009-08-03 23:51:13 +00:00
Gerald Combs
9bc8469d96
Remove a couple of unused variables.
...
svn path=/trunk/; revision=29286
2009-08-03 23:50:55 +00:00
Gerald Combs
5bbd304601
Add some null checks.
...
svn path=/trunk/; revision=29285
2009-08-03 23:49:05 +00:00
Bill Meier
42a4efbb59
More minor cleanups:
...
- Move proto_register to near the end of the file as per convention;
- Remove unneeded #include <epan/reassemble.h>;
- Comment out unused ett[] array and associated;
svn path=/trunk/; revision=29284
2009-08-03 23:18:59 +00:00
Bill Meier
b9b8fad812
Minor cleanups:
...
- Comment out code which creates two dissector tables and then
stores a preference value in each of them;
AFAICT the tables are not accessed elsewhere;
- Comment out the no longer required prefs callback specification
in proto_register;
- "if (... == -1)" not req'd in proto_register;
- Remove unused proto_reg_wimax function.
svn path=/trunk/; revision=29283
2009-08-03 22:38:43 +00:00
Bill Meier
d6e5235eb4
Various minor cleanups:
...
- Do all find_dissector() calls only once during proto_reg_handoff
(not each time a sub-dissector is called when dissecting frames).
- Move proto_register & proto_reg_handoff to the end of the file as per convention;
- Move a global variables to be local;
- Change a global variable to be static;
- Remove unneeded multiple #include <string.h>
- Remove an unneeded variable and a few unneeded lines of code.
svn path=/trunk/; revision=29282
2009-08-03 22:09:08 +00:00
Guy Harris
bd97aecdd3
Clean up indentation somewhat.
...
svn path=/trunk/; revision=29281
2009-08-03 21:17:30 +00:00
Jaap Keuter
2c9c96744d
From Gerasimos Dimitriadis:
...
Added decoding support for the High Layer Compatibility IE in DTAP and updated
the relevant part in Q.931. Also some minor enhancements in Q.931.
svn path=/trunk/; revision=29280
2009-08-03 21:12:41 +00:00
Guy Harris
f3944baaf0
Thou shalt terminate thy value_string arrays with {0, NULL}.
...
svn path=/trunk/; revision=29279
2009-08-03 21:07:08 +00:00
Gerald Combs
8224d4e436
Add a null pointer check. Remove some unused variables.
...
svn path=/trunk/; revision=29278
2009-08-03 19:50:35 +00:00