obnox/wireshark/wip.git
15 years agoAdds 64 bit integer handling to Lua interface.
rbalint [Tue, 16 Sep 2008 14:37:00 +0000 (14:37 +0000)]
Adds 64 bit integer handling to Lua interface.
Fixes bug 2750.

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

15 years agoFix for bug 1965:
rbalint [Tue, 16 Sep 2008 14:00:48 +0000 (14:00 +0000)]
Fix for bug 1965:
Fix ByteArray append() and set_size()

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

15 years agoFrom Vladimir Koutny:
jake [Tue, 16 Sep 2008 05:43:36 +0000 (05:43 +0000)]
From Vladimir Koutny:
The size of selected_registrar fiels in WPS IE should be 1b, not 2b
(it is defined as BOOL in WPS specs).

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

15 years agoAdd libgail.dll to the list of files to be removed.
gerald [Tue, 16 Sep 2008 00:57:46 +0000 (00:57 +0000)]
Add libgail.dll to the list of files to be removed.

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

15 years agoFix for bug 2875:
jake [Mon, 15 Sep 2008 21:50:50 +0000 (21:50 +0000)]
Fix for bug 2875:
Fix a final eth_fopen -> ws_fopen
When configuring with --without-zlib these functions need to have some parameters tagged _U_

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

15 years agoPut Data dissection (if no subdissector is found) on the toplevel tree instead of...
morriss [Mon, 15 Sep 2008 20:35:02 +0000 (20:35 +0000)]
Put Data dissection (if no subdissector is found) on the toplevel tree instead of within the SUA tree.

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

15 years agoIf ANSI and national==0, decode the PC as ITU (not China). This fixes bug 2861.
morriss [Mon, 15 Sep 2008 20:17:47 +0000 (20:17 +0000)]
If ANSI and national==0, decode the PC as ITU (not China).  This fixes bug 2861.

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

15 years agoSince we require autoconf 2.60 or later, update the error message to indicate that...
morriss [Mon, 15 Sep 2008 19:57:56 +0000 (19:57 +0000)]
Since we require autoconf 2.60 or later, update the error message to indicate that (rather than still indicating that we need only 2.52).

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

15 years agoproto_reg_handoff: fix so port pref change works; gen'l cleanuop
wmeier [Mon, 15 Sep 2008 19:54:40 +0000 (19:54 +0000)]
proto_reg_handoff: fix so port pref change works; gen'l cleanuop

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

15 years agoFrom Michael Bernhard:
jake [Mon, 15 Sep 2008 19:49:43 +0000 (19:49 +0000)]
From Michael Bernhard:
The dissector asserted displaying cookies in DTLS frames because it was registered as FT_NONE.

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

15 years agoFix compile error
wmeier [Mon, 15 Sep 2008 19:38:16 +0000 (19:38 +0000)]
Fix compile error

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

15 years agoFix so pkt_ccc port pref works; proto_reg_handoff's: gen'l cleanup.
wmeier [Mon, 15 Sep 2008 19:33:38 +0000 (19:33 +0000)]
Fix so pkt_ccc port pref works; proto_reg_handoff's: gen'l cleanup.

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

15 years ago'static initialized' --> 'static gboolean initialized'
wmeier [Mon, 15 Sep 2008 19:03:03 +0000 (19:03 +0000)]
'static initialized' --> 'static gboolean initialized'

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

15 years agoproto_reg_handoff: rework/cleanup; fix so ports properly deleted/added.
wmeier [Mon, 15 Sep 2008 18:58:03 +0000 (18:58 +0000)]
proto_reg_handoff: rework/cleanup; fix so ports properly deleted/added.

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

15 years agoproto_reg-handoff: Fix to properly delete/add port when pref changed; cleanup.
wmeier [Mon, 15 Sep 2008 18:48:28 +0000 (18:48 +0000)]
proto_reg-handoff: Fix to properly delete/add port when pref changed; cleanup.

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

15 years agoFix several definitions
wmeier [Mon, 15 Sep 2008 18:39:34 +0000 (18:39 +0000)]
Fix several definitions

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

15 years agoAdd prefs callback so tcp_port pref works; Cleanup proto_reg_handoff.
wmeier [Mon, 15 Sep 2008 18:34:05 +0000 (18:34 +0000)]
Add prefs callback so tcp_port pref works; Cleanup proto_reg_handoff.

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

15 years agoMove to 1.1.1.
gerald [Mon, 15 Sep 2008 18:30:51 +0000 (18:30 +0000)]
Move to 1.1.1.

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

15 years agoFix some indentation; 'static int' --> 'static guint'
wmeier [Mon, 15 Sep 2008 16:51:23 +0000 (16:51 +0000)]
Fix some indentation; 'static int' --> 'static guint'

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

15 years agoproto_reg-handoff: Use dissector_add_handle instead of registering to port 0;
wmeier [Mon, 15 Sep 2008 16:36:06 +0000 (16:36 +0000)]
proto_reg-handoff: Use dissector_add_handle instead of registering to port 0;
Also: minor cleanup related to proto_reg_handoff

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

15 years agoMinor cleanup related to proto_reg_handoff
wmeier [Mon, 15 Sep 2008 15:38:34 +0000 (15:38 +0000)]
Minor cleanup related to proto_reg_handoff

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

15 years agoDo not flag a low TTL if sending to a multicast address (224.0.0.0/4).
stig [Mon, 15 Sep 2008 12:50:35 +0000 (12:50 +0000)]
Do not flag a low TTL if sending to a multicast address (224.0.0.0/4).

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

15 years agoFix indentation to be consistent
wmeier [Mon, 15 Sep 2008 02:05:26 +0000 (02:05 +0000)]
Fix indentation to be consistent

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

15 years agoAllways show the Vendor OUI in the vedors specific IE.
etxrab [Sun, 14 Sep 2008 15:14:46 +0000 (15:14 +0000)]
Allways show the Vendor OUI in the vedors specific IE.

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

15 years agoUse the unmodified DialoguePDUs ASN1 file.
etxrab [Sun, 14 Sep 2008 14:42:39 +0000 (14:42 +0000)]
Use the unmodified DialoguePDUs ASN1 file.

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

15 years agoRemove the rest of the ANSI TCAP stuff.
etxrab [Sun, 14 Sep 2008 14:33:01 +0000 (14:33 +0000)]
Remove the rest of the ANSI TCAP stuff.

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

15 years agoFix for bug 2870:
jake [Sun, 14 Sep 2008 13:09:14 +0000 (13:09 +0000)]
Fix for bug 2870:
Wrap dissect_q931_cause_ie() in a save version which clears the have_valid_q931_pi semaphore. This may remain set if a malformed q931 message causes an exception.

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

15 years agoStart to get rid of the "old" ANSI TCAP stuff.
etxrab [Sat, 13 Sep 2008 16:38:21 +0000 (16:38 +0000)]
Start to get rid of the "old" ANSI TCAP stuff.

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

15 years agoUse original UnidialoguePDUs.
etxrab [Sat, 13 Sep 2008 15:32:59 +0000 (15:32 +0000)]
Use original UnidialoguePDUs.

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

15 years agoFix typo
etxrab [Sat, 13 Sep 2008 12:19:24 +0000 (12:19 +0000)]
Fix typo

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

15 years agoMove the ITU asn1 files to /tcap
etxrab [Sat, 13 Sep 2008 11:44:33 +0000 (11:44 +0000)]
Move the ITU asn1 files to /tcap

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

15 years agoSmall revisions related to proto_reg_handoff ....
wmeier [Fri, 12 Sep 2008 16:52:01 +0000 (16:52 +0000)]
Small revisions related to proto_reg_handoff ....

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

15 years agoAdd support for
tuexen [Fri, 12 Sep 2008 16:23:18 +0000 (16:23 +0000)]
Add support for
http://www.ietf.org/internet-drafts/draft-tuexen-tsvwg-sctp-sack-immediately-00.txt

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

15 years agoRevert one of the changes.
etxrab [Fri, 12 Sep 2008 16:02:39 +0000 (16:02 +0000)]
Revert one of the changes.

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

15 years agoTry to fix "defined but not used" warnings.
etxrab [Fri, 12 Sep 2008 09:11:28 +0000 (09:11 +0000)]
Try to fix "defined but not used" warnings.

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

15 years agoThe newer autoconf version requirement is needed in
jmayer [Thu, 11 Sep 2008 21:17:17 +0000 (21:17 +0000)]
The newer autoconf version requirement is needed in
configure.in as well.

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

15 years agoWe now require autoconf 2.60 to build.
jmayer [Thu, 11 Sep 2008 21:15:14 +0000 (21:15 +0000)]
We now require autoconf 2.60 to build.

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

15 years agoFrom Karl Heinz Wolf:
etxrab [Thu, 11 Sep 2008 20:44:19 +0000 (20:44 +0000)]
From   Karl Heinz Wolf:
LoST Server Domain Name DHCPv4 Option (RFC 5223)

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

15 years agoWork around a problem with custom columns.
etxrab [Thu, 11 Sep 2008 19:34:29 +0000 (19:34 +0000)]
Work around a problem with custom columns.

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

15 years ago"Response flags" in GIOP Request is misinterpreted
etxrab [Thu, 11 Sep 2008 19:33:07 +0000 (19:33 +0000)]
"Response flags" in GIOP Request is misinterpreted
Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2800

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

15 years agoMinor cleanup related to proto_reg_handoff ....
wmeier [Thu, 11 Sep 2008 14:07:02 +0000 (14:07 +0000)]
Minor cleanup related to proto_reg_handoff ....

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

15 years agoSuggest why we might have at least 3 different network subtypes for 802.11.
guy [Thu, 11 Sep 2008 03:37:16 +0000 (03:37 +0000)]
Suggest why we might have at least 3 different network subtypes for 802.11.

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

15 years agoA network type of 2 appears to be similar to a network type of 1
guy [Wed, 10 Sep 2008 21:55:02 +0000 (21:55 +0000)]
A network type of 2 appears to be similar to a network type of 1
(including 0's rather than an FCS in the packet).

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

15 years agoIn the radio-information dissector, set the current protocol name before
guy [Wed, 10 Sep 2008 21:48:15 +0000 (21:48 +0000)]
In the radio-information dissector, set the current protocol name before
calling the 802.11 dissector, so if we have a malformed frame or short
frame the right protocol name will be shown.

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

15 years agostrncasecmp ==> g_ascii_strncasecmp
wmeier [Wed, 10 Sep 2008 12:57:48 +0000 (12:57 +0000)]
strncasecmp ==> g_ascii_strncasecmp

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

15 years agoMake SVN-stamped versions the default again.
gerald [Tue, 9 Sep 2008 23:57:02 +0000 (23:57 +0000)]
Make SVN-stamped versions the default again.

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

15 years agofrom Christopher.Maynard@GTECH.COM:
ulfl [Tue, 9 Sep 2008 21:50:05 +0000 (21:50 +0000)]
from Christopher.Maynard@GTECH.COM:
Attached is a small patch with minor formatting changes
and a few XXX's filled in with some additional information.

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

15 years agoFix for bug 2859:
jake [Tue, 9 Sep 2008 21:17:17 +0000 (21:17 +0000)]
Fix for bug 2859:
Skip data portion of unknown TLV.

Expand type interpretation and several other cleanups.

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

15 years agoFix U3 packaging. Build 1.1.0 again in order to pick up the new GLib/GTK+
gerald [Tue, 9 Sep 2008 17:16:41 +0000 (17:16 +0000)]
Fix U3 packaging. Build 1.1.0 again in order to pick up the new GLib/GTK+
libraries.

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

15 years agoInclude a missing Diameter dictionary file.
guy [Tue, 9 Sep 2008 03:23:13 +0000 (03:23 +0000)]
Include a missing Diameter dictionary file.

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

15 years agoFrom Pavol Rusnak: Add missing break statement....
wmeier [Mon, 8 Sep 2008 16:13:39 +0000 (16:13 +0000)]
From Pavol Rusnak: Add missing break statement....

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

15 years agoAdd libgail.dll
etxrab [Mon, 8 Sep 2008 07:14:52 +0000 (07:14 +0000)]
Add libgail.dll

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

15 years agoFrom Neil Piercy:
jake [Mon, 8 Sep 2008 06:02:35 +0000 (06:02 +0000)]
From Neil Piercy:
The IP Address IE did not decode correctly - the address fetch did not skip the
Address Type field.

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

15 years agoGet one more pointer difference.
guy [Sun, 7 Sep 2008 17:49:03 +0000 (17:49 +0000)]
Get one more pointer difference.

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

15 years agoUdate tlv_type_names with values from http://www.iana.org/assignments/ldp-namespaces.
etxrab [Sun, 7 Sep 2008 17:18:49 +0000 (17:18 +0000)]
Udate tlv_type_names with values from iana.org/assignments/ldp-namespaces.

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

15 years agoFrom Neil Piercy:
etxrab [Sun, 7 Sep 2008 13:43:49 +0000 (13:43 +0000)]
From Neil Piercy:
VC6 Build problem: wiretap/k12text.c includes unistd.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2851

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

15 years agoFrom Neil Piercy:
etxrab [Sun, 7 Sep 2008 13:36:56 +0000 (13:36 +0000)]
From Neil Piercy:
Empty GPRS LLC S frames cause truncated data exception
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2855

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

15 years agoMove the advancement of the packet offset outside the "if (tree)".
guy [Sun, 7 Sep 2008 08:44:47 +0000 (08:44 +0000)]
Move the advancement of the packet offset outside the "if (tree)".

This fixes bug 2856.

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

15 years agoClean up indetation.
guy [Sun, 7 Sep 2008 03:13:10 +0000 (03:13 +0000)]
Clean up indetation.

If we're running in TShark, there's never a GUI; clean up comments.

Merge a couple of if statements together, as the "true" branch of the
second statement is executed only if the "true" branch of the first
statement is executed.

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

15 years agoStyle and indentation cleanups.
guy [Sun, 7 Sep 2008 01:50:44 +0000 (01:50 +0000)]
Style and indentation cleanups.

Don't initialize a variable that's set (in the handoff registration
routine) before being used.

Now that we're GLib 2.0-only, use g_ascii_isalpha() rather than rolling
our own.

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

15 years agoAdd support for TLS-over-SMTP.
guy [Sun, 7 Sep 2008 01:28:43 +0000 (01:28 +0000)]
Add support for TLS-over-SMTP.

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

15 years agoHave a line_is_smtp_command() routine to check whether a line is an SMTP
guy [Sat, 6 Sep 2008 23:58:23 +0000 (23:58 +0000)]
Have a line_is_smtp_command() routine to check whether a line is an SMTP
command, and use that in the parsing loop (that means we don't have to
treat 4-character commands and non-4-character commands separately).

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

15 years agoClose filter autocompletion list when it's empty. This re-enables
sake [Sat, 6 Sep 2008 23:22:50 +0000 (23:22 +0000)]
Close filter autocompletion list when it's empty. This re-enables
entering a filter like this:

ip.addr==1.1.1.1<ENTER>

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

15 years agoAdd some comments.
guy [Sat, 6 Sep 2008 22:33:22 +0000 (22:33 +0000)]
Add some comments.

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

15 years agoNew branch
etxrab [Sat, 6 Sep 2008 18:30:47 +0000 (18:30 +0000)]
New branch

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

15 years agoTo compute the difference between two addresses, cast the pointers
guy [Sat, 6 Sep 2008 18:27:33 +0000 (18:27 +0000)]
To compute the difference between two addresses, cast the pointers
holding those addresses to "void *" and then to "char *" (so we don't
get warnings from casting directly to "char *" or errors from
subtracting two "void *"s), and subtract them, rather than casting the
pointers to an integral type possibly shorter than the pointers (to
avoid warnings and to avoid the admittedly-infinitesimal chance that the
two pointers don't differ in the bits that fit into the integral type).

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

15 years agoFix a typo.
etxrab [Sat, 6 Sep 2008 18:01:47 +0000 (18:01 +0000)]
Fix a typo.

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

15 years agoUse GINT_TO_POINTER() to cast integral values to gpointer in
guy [Sat, 6 Sep 2008 17:27:20 +0000 (17:27 +0000)]
Use GINT_TO_POINTER() to cast integral values to gpointer in
g_hash_table_lookup() calls, in the hopes of suppressing warnings on
platforms with 32-bit ints and 64-bit pointers.

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

15 years agoUse GTK+ 2.14.1
etxrab [Sat, 6 Sep 2008 15:25:23 +0000 (15:25 +0000)]
Use GTK+ 2.14.1
What's new in GTK+ 2.14
=======================

GTK+ 2.14 adds new functionality while maintaining source and binary
compatibility with GTK+ 2.12. Highlights of new features and
improvements in GTK+ 2.14 are:

New widgets and objects

 * GdkAppLaunchContext, provides startup notification with
   g_app_info_launch()
 * GtkMountOperation, can ask for passwords when mounting
   volumes with g_volume_mount()
 * GtkToolShell, an interface for containers of GtkToolItems

Noteworthy new APIs

 * gtk_show_uri(), a replacement for gnome_vfs_url_show() and
   gnome_url_show()
 * gtk_widget_get_snapshot(), using pixmap redirection to render
   snapshots of widgets

Changes in the file chooser

 The file chooser uses GIO directly, loadable backends are no longer
 supported. Autocompletion in the file chooser entry has been improved.

Changes in printing support

 The print dialog displays printer status information. Support for
 rearranging pages when printing multiple pages per sheet has been
 added to the cups backend.

Accessibility support

 The gail module is shipped with GTK+, GtkBuilder supports
 accessibility attributes and GtkStatusIcon supports keyboard
 navigation.

Internationalization support

 The compose sequences understood by GTK+'s builtin input method
 have been synchronized with recent X.org compose sequences, adding
 a large number of new sequences. GTK+ no longer uses translations
 when an application is not translated to the current locale.

gdk-pixbuf changes

 * Support loading OS X icns format
 * Support loading JPEG 2000 images
 * Support loading and saving to GIO streams
 * Use GIO for mime information

GDK changes

 GDK uses Xrandr instead of Xinerama to provide more (and dynamic)
 monitor information. Font configuration changes are now picked up
 at runtime, without an application restart.

For more details and lists of fixed bugs, see the
announcements for the 2.13.x development releases:

http://mail.gnome.org/archives/gtk-devel-list/2008-February/msg00079.html
http://mail.gnome.org/archives/gtk-devel-list/2008-May/msg00112.html
http://mail.gnome.org/archives/gtk-devel-list/2008-June/msg00033.html
http://mail.gnome.org/archives/gtk-devel-list/2008-June/msg00158.html
http://mail.gnome.org/archives/gtk-devel-list/2008-July/msg00044.html
http://mail.gnome.org/archives/gtk-devel-list/2008-July/msg00182.html
http://mail.gnome.org/archives/gtk-devel-list/2008-August/msg00023.html
http://mail.gnome.org/archives/gtk-devel-list/2008-August/msg00153.html

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

15 years agoBucket Leak Rate decoded incorrectly as bytes instead of bits
etxrab [Sat, 6 Sep 2008 11:45:08 +0000 (11:45 +0000)]
Bucket Leak Rate decoded incorrectly as bytes instead of bits
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2849

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

15 years agocompile a document about heuristic dissectors, following:
ulfl [Sat, 6 Sep 2008 11:28:58 +0000 (11:28 +0000)]
compile a document about heuristic dissectors, following:
 http://www.wireshark.org/lists/wireshark-dev/200808/msg00234.html

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

15 years agoAdd extended cap decoding.
etxrab [Fri, 5 Sep 2008 16:04:02 +0000 (16:04 +0000)]
Add extended cap decoding.

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

15 years agoMove another comment next to the code to which it refers.
guy [Fri, 5 Sep 2008 09:51:13 +0000 (09:51 +0000)]
Move another comment next to the code to which it refers.

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

15 years agoMove a comment to the right place.
guy [Fri, 5 Sep 2008 09:28:08 +0000 (09:28 +0000)]
Move a comment to the right place.

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

15 years agoClean up indentation.
guy [Fri, 5 Sep 2008 09:07:46 +0000 (09:07 +0000)]
Clean up indentation.

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

15 years agoUse latest glib.
etxrab [Fri, 5 Sep 2008 05:58:25 +0000 (05:58 +0000)]
Use latest glib.

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

15 years agoFrom Niel Percy:
etxrab [Fri, 5 Sep 2008 05:49:39 +0000 (05:49 +0000)]
From Niel Percy:
Much as I hate white space changes, I got fed up of the huge variation of styles within these files, and tried to get to a much smaller range of variation. Also a few comment tidies, and use of _U_ for unused args rather than "arg = arg" lines.

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

15 years agoMark unused argument as such.
guy [Thu, 4 Sep 2008 21:21:27 +0000 (21:21 +0000)]
Mark unused argument as such.

Style changes.

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

15 years agoModified patch from Siva Jupudi adding support for
etxrab [Thu, 4 Sep 2008 20:54:22 +0000 (20:54 +0000)]
Modified patch from  Siva Jupudi adding support for
WAVE Service information element Dissection - IEEE 802.11p Draft 4.0

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

15 years agoMake SVN-stamped versions the default again.
gerald [Thu, 4 Sep 2008 20:10:22 +0000 (20:10 +0000)]
Make SVN-stamped versions the default again.

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

15 years agoMove the trunk to 1.1.0. Temporarily build a non-SVN-stamped package, so
gerald [Thu, 4 Sep 2008 19:37:16 +0000 (19:37 +0000)]
Move the trunk to 1.1.0. Temporarily build a non-SVN-stamped package, so
that we can build 1.1.0 packages.

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

15 years agoThat #include is necessary to get epan_strcasestr() declared;
guy [Wed, 3 Sep 2008 23:51:26 +0000 (23:51 +0000)]
That #include is necessary to get epan_strcasestr() declared;
unfortunately, that didn't show up in a build, as this file isn't yet
clean and isn't yet built with -Werror.

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

15 years agoI hate Windows.
guy [Wed, 3 Sep 2008 22:35:20 +0000 (22:35 +0000)]
I hate Windows.

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

15 years agoSplit the asn1 file in two.
etxrab [Wed, 3 Sep 2008 20:26:35 +0000 (20:26 +0000)]
Split the asn1 file in two.

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

15 years agog_ascii_strdown() and g_ascii_strup(), unlike g_strdown() and g_strup(),
guy [Wed, 3 Sep 2008 19:14:52 +0000 (19:14 +0000)]
g_ascii_strdown() and g_ascii_strup(), unlike g_strdown() and g_strup(),
do *not* modify the string handed to them - they g_mallocate a new
string and return it.

Create routines that *do* ASCII-only case mapping in place, and use them
instead.

Clean up indentation.

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

15 years agoRename the asn1 file(next step is to split it) to it's "proper" name.
etxrab [Wed, 3 Sep 2008 19:10:28 +0000 (19:10 +0000)]
Rename the asn1 file(next step is to split it) to it's "proper" name.

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

15 years agoTry to fix unused code warnings(hack).
etxrab [Wed, 3 Sep 2008 17:03:30 +0000 (17:03 +0000)]
Try to fix unused code warnings(hack).

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

15 years agoCleanup related to prefs & proto_reg_handoff
wmeier [Wed, 3 Sep 2008 16:42:35 +0000 (16:42 +0000)]
Cleanup related to prefs & proto_reg_handoff

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

15 years agoThe AFP field containing the command is "afp.command", not "afp.cmd".
guy [Wed, 3 Sep 2008 10:24:38 +0000 (10:24 +0000)]
The AFP field containing the command is "afp.command", not "afp.cmd".
Fixes bug 2847.

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

15 years agoMade FCS calculation and checking code work on GCC 4.3.1.
jake [Wed, 3 Sep 2008 05:56:30 +0000 (05:56 +0000)]
Made FCS calculation and checking code work on GCC 4.3.1.
Made FCS check actually mean something.

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

15 years agoCleanup related to prefs & proto_reg_handoff
wmeier [Tue, 2 Sep 2008 21:40:46 +0000 (21:40 +0000)]
Cleanup related to prefs & proto_reg_handoff

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

15 years agoTry to fix unused code warnings.
etxrab [Tue, 2 Sep 2008 19:42:30 +0000 (19:42 +0000)]
Try to fix unused code warnings.

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

15 years agoMinor cleanup (mostly related to proto_reg_handoff...)
wmeier [Tue, 2 Sep 2008 19:08:29 +0000 (19:08 +0000)]
Minor cleanup (mostly related to proto_reg_handoff...)

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

15 years agoFix double entries.
etxrab [Tue, 2 Sep 2008 18:33:24 +0000 (18:33 +0000)]
Fix double entries.

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

15 years agoHandle extension header.
etxrab [Tue, 2 Sep 2008 18:27:33 +0000 (18:27 +0000)]
Handle extension header.

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

15 years agoFix typo in #define.
guy [Tue, 2 Sep 2008 18:20:36 +0000 (18:20 +0000)]
Fix typo in #define.

Fix indentation (a tab doesn't necessarily expand to 4 spaces).

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

15 years agoMake it easy to put the version on the Welcom page if wanted.
etxrab [Tue, 2 Sep 2008 17:41:47 +0000 (17:41 +0000)]
Make it easy to put the version on the Welcom page if wanted.

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

15 years agoFetch the key length using pntohs. Initialize and check its length.
gerald [Tue, 2 Sep 2008 17:26:24 +0000 (17:26 +0000)]
Fetch the key length using pntohs. Initialize and check its length.

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

15 years agoFix a few Emacs "file variables" to have "safe" values.
wmeier [Tue, 2 Sep 2008 11:17:03 +0000 (11:17 +0000)]
Fix a few Emacs "file variables" to have "safe" values.
That is: indent-tabs-mode: tabs --> indent-tabs-mode: t
Also: fix a typo: set-tabs-mode --> indent-tabs-mode

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

15 years agoOK, let's see if the x509sat dissector is clean.
guy [Tue, 2 Sep 2008 06:44:41 +0000 (06:44 +0000)]
OK, let's see if the x509sat dissector is clean.

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