obnox/wireshark/wip.git
17 years agoPropagate Joerg's fix to make --enable-extra-gcc-checks turn off
guy [Sun, 22 Apr 2007 23:52:38 +0000 (23:52 +0000)]
Propagate Joerg's fix to make --enable-extra-gcc-checks turn off
--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).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21515 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoTurn on almost all warnings for Wiretap - if any of them cause problems
guy [Sun, 22 Apr 2007 23:47:56 +0000 (23:47 +0000)]
Turn on almost all warnings for Wiretap - if any of them cause problems
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21514 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix regression: Automatically disable -Werror in case of extra gcc flags.
jmayer [Sun, 22 Apr 2007 23:01:49 +0000 (23:01 +0000)]
Fix regression: Automatically disable -Werror in case of extra gcc flags.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21513 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoAnother fix to allow gtk1 to compile w/o warnings....
wmeier [Sun, 22 Apr 2007 22:23:19 +0000 (22:23 +0000)]
Another fix to allow gtk1 to compile w/o warnings....

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21512 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoset #ifndef __USE_XOPEN instead of only #ifndef
standel [Sun, 22 Apr 2007 21:55:39 +0000 (21:55 +0000)]
set #ifndef __USE_XOPEN instead of only #ifndef

should fix rev21508

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21511 f5534014-38df-0310-8fa8-9805f1628bb7

17 years ago"struct sack_chunk_header" is presumably just a SACK chunk header
guy [Sun, 22 Apr 2007 20:43:01 +0000 (20:43 +0000)]
"struct sack_chunk_header" is presumably just a SACK chunk header
followed by zero or more gap start/end pairs; fix up the previous fix to
handle that correctly.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21510 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoDon't play type-punning games - they cause compiler warnings (not that
guy [Sun, 22 Apr 2007 20:29:31 +0000 (20:29 +0000)]
Don't play type-punning games - they cause compiler warnings (not that
anybody appears to ever *set* sack_header->gaps).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21509 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoOnly #deinfe __USE_XOPEN if not already defined. On my Suse 10.2 it was
jmayer [Sun, 22 Apr 2007 20:04:34 +0000 (20:04 +0000)]
Only #deinfe __USE_XOPEN if not already defined. On my Suse 10.2 it was
already #defined to 1, so this would create a warning/error.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21508 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoGet rid of some const warnings.
guy [Sun, 22 Apr 2007 18:26:45 +0000 (18:26 +0000)]
Get rid of some const warnings.

Use the "pnto" macros to fetch 16-bit quantities from a buffer - not
only do they have the right casts to avoid const warnings, they also
work even on platforms (such as SPARC) where you can't dereference
unaligned pointers without a trap.

Similarly, compare a possibly-unaligned (we make no alignment guarantees
in Wireshark) 16-bit quantity against 0 a byte at a time.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21507 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoCheck the GLib version number, not the GTK+ version number; it's GLib we
guy [Sun, 22 Apr 2007 18:04:52 +0000 (18:04 +0000)]
Check the GLib version number, not the GTK+ version number; it's GLib we
care about, and this code doesn't use GTK+, so it doesn't include any
GTK+ headers and therefore doesn't get the GTK+ version number defined.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21506 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agomove some headers so that the compile works on gtk1
sahlberg [Sun, 22 Apr 2007 16:44:36 +0000 (16:44 +0000)]
move some headers so that the compile works on gtk1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21505 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agomove include of a few headers down a few lines so the compile works on
sahlberg [Sun, 22 Apr 2007 16:40:34 +0000 (16:40 +0000)]
move include of a few headers down a few lines so the compile works on
gtk1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21504 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agocompile fix for gtk1
sahlberg [Sun, 22 Apr 2007 15:49:29 +0000 (15:49 +0000)]
compile fix for gtk1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21503 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofix compiler warning for gtk1 builds
sahlberg [Sun, 22 Apr 2007 15:48:18 +0000 (15:48 +0000)]
fix compiler warning for gtk1 builds

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21502 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agodont include these headers under gtk1
sahlberg [Sun, 22 Apr 2007 15:45:34 +0000 (15:45 +0000)]
dont include these headers under gtk1

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21501 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agosome updates to allow gtk1 to compile without warnings
sahlberg [Sun, 22 Apr 2007 15:43:01 +0000 (15:43 +0000)]
some updates to allow gtk1 to compile without warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21500 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoGString.len has changed signednedd between gtk1 and gtk2
sahlberg [Sun, 22 Apr 2007 15:22:53 +0000 (15:22 +0000)]
GString.len has changed signednedd between gtk1 and gtk2

this will hopefully again compile under both gtk1 and 2

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21499 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoupdate of AC_WIRESHARK_PCAP_CHECK to detect if pcap header version is
standel [Sun, 22 Apr 2007 13:38:50 +0000 (13:38 +0000)]
update of AC_WIRESHARK_PCAP_CHECK to detect if pcap header version is
corresponding to the library version for pcap_breakloop. Issue a warning if the
pcap_breakloop is present but not usable.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21498 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix a signedness warning.
jmayer [Sun, 22 Apr 2007 11:51:36 +0000 (11:51 +0000)]
Fix a signedness warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21497 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix for bug 1541. Adjust offset for long longs by 8, not by 4.
jake [Sun, 22 Apr 2007 10:29:47 +0000 (10:29 +0000)]
Fix for bug 1541. Adjust offset for long longs by 8, not by 4.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21496 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrom Irene Ruengeler: Fix a bug regading the handling of ABORT chunks.
tuexen [Sun, 22 Apr 2007 10:25:26 +0000 (10:25 +0000)]
From Irene Ruengeler: Fix a bug regading the handling of ABORT chunks.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21495 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofix the sign of a variable to prevent a singed/unsigned warning during
sahlberg [Sun, 22 Apr 2007 09:58:12 +0000 (09:58 +0000)]
fix the sign of a variable to prevent a singed/unsigned warning during
compiling

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21494 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoadding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gcc
standel [Sun, 22 Apr 2007 09:27:21 +0000 (09:27 +0000)]
adding AC_(WIRESHARK|WIRETAP)_GCC_CFLAGS_OPTION macro to test whether gcc
supports the options passed as arguments. If the options are supported, they
are added to CFLAGS.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21493 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoUse AC_HELP_STRING for the help strings for --with and --enable flags.
guy [Sun, 22 Apr 2007 07:22:37 +0000 (07:22 +0000)]
Use AC_HELP_STRING for the help strings for --with and --enable flags.

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.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21492 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix a comment to reflect reality - -Wcast-qual is added only with
guy [Sat, 21 Apr 2007 23:04:36 +0000 (23:04 +0000)]
Fix a comment to reflect reality - -Wcast-qual is added only with
--with-extra-gcc-checks.

Unconditionally add -Wpointer-arith to GCC flags, and, if
--with-extra-gcc-checks is specified, add -Wstrict-prototypes.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21491 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoMatch "%4x" with an unsigned value in sscanf.
guy [Sat, 21 Apr 2007 22:59:52 +0000 (22:59 +0000)]
Match "%4x" with an unsigned value in sscanf.

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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21490 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoGet rid of a warning with at least some compilers.
guy [Sat, 21 Apr 2007 22:58:03 +0000 (22:58 +0000)]
Get rid of a warning with at least some compilers.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21489 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoExplicitly mark new_k12_file_data() as taking no arguments - in C89, at
guy [Sat, 21 Apr 2007 22:57:22 +0000 (22:57 +0000)]
Explicitly mark new_k12_file_data() as taking no arguments - in C89, at
least, "int foo()" defines or declares an old-style function, not one
with no arguments.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21488 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoEXPORT DialoguePDU UniDialoguePDU and make them callable by OID.
etxrab [Sat, 21 Apr 2007 20:53:35 +0000 (20:53 +0000)]
EXPORT DialoguePDU UniDialoguePDU and make them callable by OID.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21487 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoPut some missing TAG:s in the tree if internal BER fields shown.
etxrab [Sat, 21 Apr 2007 20:27:05 +0000 (20:27 +0000)]
Put some missing TAG:s in the tree if internal BER fields shown.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21486 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix bug #1547: Expert Info Composite column "Count" is not sorting numerically
sfisher [Fri, 20 Apr 2007 23:10:03 +0000 (23:10 +0000)]
Fix bug #1547: Expert Info Composite column "Count" is not sorting numerically

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21485 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoMove some data frame back out of the control frame scope, so Wireshark
gerald [Fri, 20 Apr 2007 22:29:11 +0000 (22:29 +0000)]
Move some data frame back out of the control frame scope, so Wireshark
will stop crashing.

More .11n additions and updates from Dustin:

  - Power Capability tag
  - Supported Channels tag
  - Block Ack/Block Ack Request

Fixup whitespace.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21484 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix 64-bit integer handling and whitespace.
gerald [Fri, 20 Apr 2007 18:09:31 +0000 (18:09 +0000)]
Fix 64-bit integer handling and whitespace.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21483 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoMore .11n-related updates and additions from Dustin Johnson and myself:
gerald [Fri, 20 Apr 2007 17:40:13 +0000 (17:40 +0000)]
More .11n-related updates and additions from Dustin Johnson and myself:

  - MIMO Control frame support
  - Control Wrapper frame support
  - Measurement Pilot
  - Action No Ack
  - Block Ack Action
  - PCO Phase Control
  - PSMP Parameter Set
  - Antenna Selection
  - Extended Channel Switch Announcement
  - HT Information
  - HT Action
  - MIMO CSI Matrices Report
  - Fill in and update a bunch of hf strings

Fixup(?) whitespace.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21482 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoSince code generated by lex may trigger gcc warnings, we are now generating two
standel [Fri, 20 Apr 2007 14:30:48 +0000 (14:30 +0000)]
Since code generated by lex may trigger gcc warnings, we are now generating two
libraries.  A single library is generated with the lex code without the barrier
"stop on warning". An other library is generated from the remaining source
files with the "stop on warning" barrier.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21481 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoget rid of some unused parameters in process_ssl_payload
standel [Fri, 20 Apr 2007 14:19:20 +0000 (14:19 +0000)]
get rid of some unused parameters in process_ssl_payload

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21480 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoAdd EXTERNAL to the value string and add comments about UNIVERSAL tags.
etxrab [Fri, 20 Apr 2007 13:54:56 +0000 (13:54 +0000)]
Add EXTERNAL to the value string and add comments about UNIVERSAL tags.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21479 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoAdd Recognition of ELRP (Extreme Loop Recognition Protocol) Elements.
jmayer [Fri, 20 Apr 2007 09:26:59 +0000 (09:26 +0000)]
Add Recognition of ELRP (Extreme Loop Recognition Protocol) Elements.
I don't know how to decode them though.

Fix some typos.

Change some Element descriptions.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21478 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrom Hannes Gredler:
richardv [Thu, 19 Apr 2007 17:13:49 +0000 (17:13 +0000)]
From Hannes Gredler:

attached a small bugfix that uses the correct bits
for determining if the ATM payload is a OAM cell.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21477 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofix typos
richardv [Thu, 19 Apr 2007 17:03:58 +0000 (17:03 +0000)]
fix typos

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21476 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoadded missing dependency in tagged type
kukosa [Thu, 19 Apr 2007 12:58:31 +0000 (12:58 +0000)]
added missing dependency in tagged type

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21475 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoexport dissect_ber_tagged_type()
kukosa [Thu, 19 Apr 2007 12:57:23 +0000 (12:57 +0000)]
export dissect_ber_tagged_type()

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21474 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoregister the right dissector for SIP over SSL/TLS
kukosa [Thu, 19 Apr 2007 07:09:59 +0000 (07:09 +0000)]
register the right dissector for SIP over SSL/TLS

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21473 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofollowing advice from Gerald, Graham Bloice, and others, let's try copying the unit...
richardv [Wed, 18 Apr 2007 22:31:47 +0000 (22:31 +0000)]
following advice from Gerald, Graham Bloice, and others, let's try copying the unit test executables into the wireshark-gtk2 directory before running them.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21472 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix to BUG GSM CAMEL-3 GPRS InvokeInitialDPGPRS.APN decoded incorrectly
etxrab [Wed, 18 Apr 2007 21:52:11 +0000 (21:52 +0000)]
Fix to BUG GSM CAMEL-3 GPRS InvokeInitialDPGPRS.APN decoded incorrectly
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1543

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21471 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoRemove a linebreak from an error message dialog so it wraps properly
sfisher [Wed, 18 Apr 2007 21:42:37 +0000 (21:42 +0000)]
Remove a linebreak from an error message dialog so it wraps properly

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21470 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agouse new possibility to set #.EXPORTS flag for whole directive
kukosa [Wed, 18 Apr 2007 10:52:46 +0000 (10:52 +0000)]
use new possibility to set #.EXPORTS flag for whole directive

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21469 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoMake specifier string match args
martinm [Wed, 18 Apr 2007 09:23:27 +0000 (09:23 +0000)]
Make specifier string match args
(may not be the intended formatting, but it builds...)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21468 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agousage of new #.MAKE_DEFINES asn2wrs directive in RNSAP
kukosa [Wed, 18 Apr 2007 08:58:48 +0000 (08:58 +0000)]
usage of new #.MAKE_DEFINES asn2wrs directive in RNSAP

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21467 f5534014-38df-0310-8fa8-9805f1628bb7

17 years ago- new -L command line option to suppress #line directives from .cnf file
kukosa [Wed, 18 Apr 2007 08:55:28 +0000 (08:55 +0000)]
- new -L command line option to suppress #line directives from .cnf file
- new #.MAKE_ENUM and #.MAKE_DEFINES directives to generate enum/#define for enumerated types (ENUMERATED or INTEGER with named values)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21466 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoDon't use DISSECTOR_ASSERT to (essentially) verify packet data. Instead
morriss [Wed, 18 Apr 2007 07:06:56 +0000 (07:06 +0000)]
Don't use DISSECTOR_ASSERT to (essentially) verify packet data.  Instead
add an expert info entry if the AVP length is 0 and just return after
dissecting that AVP.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21465 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoAdd a comment.
etxrab [Wed, 18 Apr 2007 06:32:00 +0000 (06:32 +0000)]
Add a comment.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21464 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrom Michael Lum:
etxrab [Wed, 18 Apr 2007 06:31:25 +0000 (06:31 +0000)]
From Michael Lum:
This patch implements parameter dissection for about 1/2 to 2/3 of the messages in IS-801.

Built and tested against the latest source as of Friday April 13th 2007.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21463 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoAdd an IE.
etxrab [Wed, 18 Apr 2007 06:30:23 +0000 (06:30 +0000)]
Add an IE.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21462 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoChange bytes counters to 64 bits and use the PRI macros to print them.
morriss [Wed, 18 Apr 2007 04:34:10 +0000 (04:34 +0000)]
Change bytes counters to 64 bits and use the PRI macros to print them.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21461 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoPass NULL (instead of proto_) in the last parameter of tap_queue_packet()
morriss [Wed, 18 Apr 2007 04:13:50 +0000 (04:13 +0000)]
Pass NULL (instead of proto_) in the last parameter of tap_queue_packet()
because NULL is just as interesting as the proto_ entry and the latter
generates a compiler warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21460 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoUse the older-style ST_MTIME instead of st_mtime. This should fix backward
gerald [Tue, 17 Apr 2007 17:13:55 +0000 (17:13 +0000)]
Use the older-style ST_MTIME instead of st_mtime.  This should fix backward
compatibility.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21459 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoUpdate from samba tree revision 22006 to 22314
jmayer [Tue, 17 Apr 2007 16:51:24 +0000 (16:51 +0000)]
Update from samba tree revision 22006 to 22314
============================ Samba log start ============
------------------------------------------------------------------------
r22029 | jpeach | 2007-04-02 19:06:14 +0200 (Mon, 02 Apr 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/lib/registry/config.mk
   M /branches/SAMBA_4_0/source/lib/replace/samba.m4
   M /branches/SAMBA_4_0/source/main.mk
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm

Make sure we respect $srcdir correctly for the srcdir != builddir case.

------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21458 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoregister the right dissector for tcp
lego [Tue, 17 Apr 2007 15:46:05 +0000 (15:46 +0000)]
register the right dissector for tcp

Fixes Bug 1429

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21457 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoDetect ELSM as such - meaning of the elements is still unknown.
jmayer [Tue, 17 Apr 2007 15:17:06 +0000 (15:17 +0000)]
Detect ELSM as such - meaning of the elements is still unknown.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21456 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoMake sure ENDTRY gets evaluated
lego [Tue, 17 Apr 2007 15:13:17 +0000 (15:13 +0000)]
Make sure ENDTRY gets evaluated

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21455 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix warnings of the form "long long unsigned int format, guint64 arg": use
morriss [Tue, 17 Apr 2007 10:11:41 +0000 (10:11 +0000)]
Fix warnings of the form "long long unsigned int format, guint64 arg": use
the PRI macros instead of %llu, etc.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21454 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix --with(out)-warnings-as-errors test so warnings-as-errors can be disabled (with...
morriss [Tue, 17 Apr 2007 10:01:39 +0000 (10:01 +0000)]
Fix --with(out)-warnings-as-errors test so warnings-as-errors can be disabled (with gcc)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21453 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoMore .11k/n updates from Dustin Johnson:
gerald [Tue, 17 Apr 2007 00:34:32 +0000 (00:34 +0000)]
More .11k/n updates from Dustin Johnson:

  - Measurement Pilot frame support
  - Various Block Ack fields
  - Various Power fields
  - Measurement Pilot field
  - Country String field
  - Channel Width field
  - QoS Information fields

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21452 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agorevert back to 20437
lego [Mon, 16 Apr 2007 23:15:03 +0000 (23:15 +0000)]
revert back to 20437

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21451 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrom Tuomas Maattanen:
gerald [Mon, 16 Apr 2007 18:35:22 +0000 (18:35 +0000)]
From Tuomas Maattanen:

the current SVN (rev 21448) 802.11 WMM TSPEC dissector seems to have
some bugs.

TS Info field should be three bytes long, not two.  Suspension Interval
field is missing altogether, shifting all other fields by four bytes.
Maximum Burst Size, Minimum PHY Rate, Peak Data Rate and Delay Bound
are in wrong order.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21450 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoUse recent IANA port assignments.
tuexen [Mon, 16 Apr 2007 17:03:30 +0000 (17:03 +0000)]
Use recent IANA port assignments.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21449 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoReplace g_assert() with DISSECTOR_ASSERT()
morriss [Mon, 16 Apr 2007 09:03:11 +0000 (09:03 +0000)]
Replace g_assert() with DISSECTOR_ASSERT()

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21448 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrom Victor Fajardo: update the PANA dissector to draft-15a
morriss [Mon, 16 Apr 2007 08:53:33 +0000 (08:53 +0000)]
From Victor Fajardo: update the PANA dissector to draft-15a

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21447 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix a couple warnings
morriss [Mon, 16 Apr 2007 08:37:39 +0000 (08:37 +0000)]
Fix a couple warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21446 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agomove string tables from packet-ssl-utils.h to packet-ssl-utils.c and export them
kukosa [Mon, 16 Apr 2007 06:41:56 +0000 (06:41 +0000)]
move string tables from packet-ssl-utils.h to packet-ssl-utils.c and export them

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21445 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoUnused parameter
jake [Mon, 16 Apr 2007 06:20:39 +0000 (06:20 +0000)]
Unused parameter

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21444 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrame numbers are unsigned, print them as such
morriss [Mon, 16 Apr 2007 04:52:51 +0000 (04:52 +0000)]
Frame numbers are unsigned, print them as such

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21443 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoWireshark now requires support for 64-bit types so there's no need to #ifdef
morriss [Mon, 16 Apr 2007 04:34:07 +0000 (04:34 +0000)]
Wireshark now requires support for 64-bit types so there's no need to #ifdef
around them.  Print 64-bit types using the PRI macros; add inttypes.h to
tap.h (if necessary) to pick up those macros for all the taps.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21442 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoReplace 14 for loops (each setting an array of integers to 0) with a memset
morriss [Sun, 15 Apr 2007 11:03:21 +0000 (11:03 +0000)]
Replace 14 for loops (each setting an array of integers to 0) with a memset

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21441 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoRevert commit 21430 and use #if 0/#endif instead
jmayer [Sun, 15 Apr 2007 00:40:05 +0000 (00:40 +0000)]
Revert commit 21430 and use #if 0/#endif instead

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21440 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agouninitialized warning fix
standel [Sat, 14 Apr 2007 19:49:48 +0000 (19:49 +0000)]
uninitialized warning fix

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21439 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFrom Sake Blok:
sfisher [Sat, 14 Apr 2007 19:04:19 +0000 (19:04 +0000)]
From Sake Blok:

Fix false malformed SSL handshake messages

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21438 f5534014-38df-0310-8fa8-9805f1628bb7

17 years ago"false" unused variables (they are not use in wiretap repo)
standel [Sat, 14 Apr 2007 18:39:07 +0000 (18:39 +0000)]
"false" unused variables (they are not use in wiretap repo)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21437 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agounused variable
standel [Sat, 14 Apr 2007 18:18:25 +0000 (18:18 +0000)]
unused variable

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21436 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix a bug in the ASN1 spec. ( I can't regenerate the dissector currently).
etxrab [Sat, 14 Apr 2007 17:08:46 +0000 (17:08 +0000)]
Fix a bug in the ASN1 spec. ( I can't regenerate the dissector currently).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21435 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoeven this repo contains code generated by lex!
standel [Sat, 14 Apr 2007 16:09:59 +0000 (16:09 +0000)]
even this repo contains code generated by lex!

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21434 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agomove ipsec to DISSECTOR_SRC
standel [Sat, 14 Apr 2007 15:57:03 +0000 (15:57 +0000)]
move ipsec to DISSECTOR_SRC
fix some more MacOSX gcc warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21433 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoremove "treat warnings as errors" barrier for every repo containing code
standel [Sat, 14 Apr 2007 14:07:46 +0000 (14:07 +0000)]
remove "treat warnings as errors" barrier for every repo containing code
generated by $(LEX) until a solution is found to compile them separately.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21432 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofix MacOSX gcc-3.3 warnings about unused tfs/value_string variables
standel [Sat, 14 Apr 2007 14:01:53 +0000 (14:01 +0000)]
fix MacOSX gcc-3.3 warnings about unused tfs/value_string variables
most have been tagged unused (few have been deleted if dissector has not been
modified since a long time)

move packet-ssl-utils.c to DISSECTOR_SRC

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21431 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoget rid of unused variables (tfs, value_string)
standel [Sat, 14 Apr 2007 13:15:52 +0000 (13:15 +0000)]
get rid of unused variables (tfs, value_string)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21430 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agodelete Td4 as it is used only in rijndaelDecrypt and rijndaelDecryptRound not
standel [Sat, 14 Apr 2007 11:55:19 +0000 (11:55 +0000)]
delete Td4 as it is used only in rijndaelDecrypt and rijndaelDecryptRound not
present in the wireshark code

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21429 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agotypo fix
standel [Sat, 14 Apr 2007 07:55:43 +0000 (07:55 +0000)]
typo fix

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21428 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoBeginnings of a Cisco ERSPAN dissector - the only thing missing is the code
jmayer [Sat, 14 Apr 2007 01:07:36 +0000 (01:07 +0000)]
Beginnings of a Cisco ERSPAN dissector - the only thing missing is the code
to actually call this (aka to handle the ambiguities of DLT values).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21427 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoSame as for top level configure.in
jmayer [Sat, 14 Apr 2007 00:41:08 +0000 (00:41 +0000)]
Same as for top level configure.in

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21426 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoDisable warnings as errors if extra gcc warnings was specified.
jmayer [Sat, 14 Apr 2007 00:35:53 +0000 (00:35 +0000)]
Disable warnings as errors if extra gcc warnings was specified.
Change to positive logic --without-warnings-as-errors (default no)
==> --with-warnings-as-errors (default yes)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21425 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agodon't treat warnings as errors until a solution is found for scanner.c
standel [Fri, 13 Apr 2007 23:40:50 +0000 (23:40 +0000)]
don't treat warnings as errors until a solution is found for scanner.c
depending on the lex used, it may generates warning.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21424 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFix some Solaris buildbot warnings
sfisher [Fri, 13 Apr 2007 23:32:21 +0000 (23:32 +0000)]
Fix some Solaris buildbot warnings

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21423 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agochange the script to automatically stop on warning if compiling with gcc.
standel [Fri, 13 Apr 2007 23:10:13 +0000 (23:10 +0000)]
change the script to automatically stop on warning if compiling with gcc.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21422 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agochange the script to automatically stop on warning if compiling with gcc.
standel [Fri, 13 Apr 2007 22:52:33 +0000 (22:52 +0000)]
change the script to automatically stop on warning if compiling with gcc.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21421 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoRemove unused variable that is causing a warning
sfisher [Fri, 13 Apr 2007 22:50:47 +0000 (22:50 +0000)]
Remove unused variable that is causing a warning

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21420 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agoFixup whitespace.
gerald [Fri, 13 Apr 2007 22:49:54 +0000 (22:49 +0000)]
Fixup whitespace.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21419 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agomove to CLEAN_DISSECTOR_SRC
standel [Fri, 13 Apr 2007 22:40:42 +0000 (22:40 +0000)]
move to CLEAN_DISSECTOR_SRC

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21418 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofix gcc warning about qualifier types (const) which are discarded when arriving
standel [Fri, 13 Apr 2007 20:59:20 +0000 (20:59 +0000)]
fix gcc warning about qualifier types (const) which are discarded when arriving
at the pcap interface.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21417 f5534014-38df-0310-8fa8-9805f1628bb7

17 years agofix gcc warning
standel [Fri, 13 Apr 2007 20:38:19 +0000 (20:38 +0000)]
fix gcc warning

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21416 f5534014-38df-0310-8fa8-9805f1628bb7