obnox/wireshark/wip.git
16 years agoUse $(PLUGIN_LDFLAGS) for LDFLAGS.
guy [Sun, 27 May 2007 18:56:39 +0000 (18:56 +0000)]
Use $(PLUGIN_LDFLAGS) for LDFLAGS.

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

16 years agoClean up white space.
guy [Sun, 27 May 2007 18:44:22 +0000 (18:44 +0000)]
Clean up white space.

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

16 years agoGet rid of trailing blank lines.
guy [Sun, 27 May 2007 18:35:55 +0000 (18:35 +0000)]
Get rid of trailing blank lines.

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

16 years agoUse tvb_reported_length() to get the amount of data we should look at;
guy [Sun, 27 May 2007 18:33:13 +0000 (18:33 +0000)]
Use tvb_reported_length() to get the amount of data we should look at;
the number of bytes in the packet or subset of the packet is the
reported length, tvb_length() just gives you the amount of that data
that was actually captured.

Include <glib.h>, not <gmodule.h>, even in plugins.

Fix the version numbers in the rc files.

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

16 years agoClean up white space.
guy [Sun, 27 May 2007 18:30:03 +0000 (18:30 +0000)]
Clean up white space.

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

16 years agoInclude wimax_tlv.h the same way packet-m2m.c does.
guy [Sun, 27 May 2007 05:27:44 +0000 (05:27 +0000)]
Include wimax_tlv.h the same way packet-m2m.c does.

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

16 years agowmxtypes.h is part of the m2m plugin, not the wimax plugin.
guy [Sun, 27 May 2007 02:01:00 +0000 (02:01 +0000)]
wmxtypes.h is part of the m2m plugin, not the wimax plugin.

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

16 years agoSquelch some unused parameter warnings.
guy [Sat, 26 May 2007 20:07:53 +0000 (20:07 +0000)]
Squelch some unused parameter warnings.

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

16 years agoFlag some parameters as unused.
guy [Sat, 26 May 2007 19:31:50 +0000 (19:31 +0000)]
Flag some parameters as unused.

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

16 years agoGet rid of unused parameter.
guy [Sat, 26 May 2007 18:59:56 +0000 (18:59 +0000)]
Get rid of unused parameter.

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

16 years agoConvert to the new style of building plugins; hopefully this'll fix the
guy [Sat, 26 May 2007 18:26:46 +0000 (18:26 +0000)]
Convert to the new style of building plugins; hopefully this'll fix the
rest of the distcheck issues.

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

16 years agoMissing bits and fixes to get the buildbot green again.
gal [Sat, 26 May 2007 10:17:08 +0000 (10:17 +0000)]
Missing bits and fixes to get the buildbot green again.

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

16 years agoGet rid of another item that's now handled automatically.
guy [Sat, 26 May 2007 03:26:20 +0000 (03:26 +0000)]
Get rid of another item that's now handled automatically.

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

16 years agoGet rid of the old-style plugin registration stuff.
guy [Sat, 26 May 2007 03:15:51 +0000 (03:15 +0000)]
Get rid of the old-style plugin registration stuff.

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

16 years agoGo with a Makefile.common as other plugins have, and tweak the
guy [Sat, 26 May 2007 03:12:25 +0000 (03:12 +0000)]
Go with a Makefile.common as other plugins have, and tweak the
Makefile.nmake and Makefile.am files to more closely resemble the ones
for other plugins.

(This should fix at least one of the distcheck problems, namely that
wmxtypes.h apparently wasn't getting put into the distribution.)

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

16 years agoFrom Ville Nuorvala :
standel [Sat, 26 May 2007 01:01:27 +0000 (01:01 +0000)]
From Ville Nuorvala :

adds support for the following RFCs (and RFC-to-be):
  - RFC 3519 Mobile IP Traversal of Network Address Translation (NAT) Devices
  - RFC 3543 Registration Revocation in Mobile IPv4
  - RFC 4433 Mobile IPv4 Dynamic Home Agent (HA) Assignment (including the not
      yet published errata about the message extension using the short message
      extension format)
  - draft-ietf-mip4-message-string-ext Mobile IPv4 Message String Extension

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

16 years agoFix bug #1416: crash (stack smashing) on single DHCP packet
sfisher [Sat, 26 May 2007 00:38:53 +0000 (00:38 +0000)]
Fix bug #1416: crash (stack smashing) on single DHCP packet

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

16 years agoinit_plugin_dir() is now just internal to epan/filesystem.c.
guy [Sat, 26 May 2007 00:12:28 +0000 (00:12 +0000)]
init_plugin_dir() is now just internal to epan/filesystem.c.

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

16 years agoFrom Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.
gerald [Fri, 25 May 2007 23:40:42 +0000 (23:40 +0000)]
From Mike Harvey: Support for WiMAX and the WiMAX M2M encapsulation protocol.

Add support for WiMAX and M2M to various makefiles and installer files.  Add
basic support for M2M to randpkt.

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

16 years agoAdd a cast to squelch an MSVC warning.
guy [Fri, 25 May 2007 21:50:12 +0000 (21:50 +0000)]
Add a cast to squelch an MSVC warning.

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

16 years agoThrow an exception instead of trying to add a 4GB fragment.
gerald [Fri, 25 May 2007 21:32:32 +0000 (21:32 +0000)]
Throw an exception instead of trying to add a 4GB fragment.

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

16 years agoNo need to call init_plugin_dir() - it gets called, if necessary, by
guy [Fri, 25 May 2007 20:03:26 +0000 (20:03 +0000)]
No need to call init_plugin_dir() - it gets called, if necessary, by
get_plugin_dir().

Add checks for the success or failure of init_progfile_dir() in dftest.

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

16 years agoMake SND_SEQ an array of 2 guint32's, rather than an array of 8
guy [Fri, 25 May 2007 19:39:35 +0000 (19:39 +0000)]
Make SND_SEQ an array of 2 guint32's, rather than an array of 8
guint8's, to squelch some compiler warnings (and clean up some
comparisons).

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

16 years agoThe libpcap callback "user" argument *should* have been a "void *", as
guy [Fri, 25 May 2007 19:31:13 +0000 (19:31 +0000)]
The libpcap callback "user" argument *should* have been a "void *", as
it's a pointer to an arbitrary object, assumed to be correctly aligned,
not a pointer to a not-necessarily-properly-aligned array of bytes.
Cast it, so we won't get alignment warnings.

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

16 years agoThe libpcap callback "user" argument *should* have been a "void *", as
guy [Fri, 25 May 2007 19:26:45 +0000 (19:26 +0000)]
The libpcap callback "user" argument *should* have been a "void *", as
it's a pointer to an arbitrary object, assumed to be correctly aligned,
not a pointer to a not-necessarily-properly-aligned array of bytes.
Cast it, so we won't get alignment warnings.

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

16 years agoSquelch some qualifier (const vs. non-const) warnings.
guy [Fri, 25 May 2007 19:13:49 +0000 (19:13 +0000)]
Squelch some qualifier (const vs. non-const) warnings.

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

16 years agoAs Martin pointed out, we were comparing the wrong variable against our
gerald [Fri, 25 May 2007 17:24:35 +0000 (17:24 +0000)]
As Martin pointed out, we were comparing the wrong variable against our
modifier mask (and using the wrong bitwise operator to boot).

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

16 years ago remove the never used wiretap/wtap-plugins.c
lego [Fri, 25 May 2007 17:23:46 +0000 (17:23 +0000)]
 remove the never used wiretap/wtap-plugins.c

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

16 years agoHave editcap and capinfos loading the wiretap plugins.
lego [Fri, 25 May 2007 17:22:32 +0000 (17:22 +0000)]
Have editcap and capinfos loading the wiretap plugins.

epan/filesystem.c
   have get_plugin_dir() calling init_plugin_dir() if necessary

epan/epan.c and epan/report_err.c
   move the report_failure family into the new report_err.c file, have epan_init() calling the initializer

epan/plugins.h and epan/proto.c
   do not have init_plugins() calling the proto_reg functions instead do it in init_proto()

gtk/main.c and tshark.c
   init_plugin_dir() has become suprefluous

capinfos.c and editcap.c
   load the wiretap plugins

Makefiles
   do what's needed to build withe the above changes.

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

16 years ago- epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the dissector...
lego [Fri, 25 May 2007 16:47:22 +0000 (16:47 +0000)]
- epan/uat.h: change the UAT_PROTO_DEF macro to handle both the name of the dissector and the handle
- packet-user_encap.c: use the new UAT_PROTO_DEF
- gtk/uat_gui.c:  change the order of "containment" of the widgets to have the clist fields sized to the scrolledwindow instead of the whole window

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

16 years agoget rid of few warnings
kukosa [Fri, 25 May 2007 11:40:32 +0000 (11:40 +0000)]
get rid of few warnings

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

16 years agoUpdate from samba tree revision 23054 to 23135
jmayer [Fri, 25 May 2007 08:34:15 +0000 (08:34 +0000)]
Update from samba tree revision 23054 to 23135
============================ Samba log start ============
------------------------------------------------------------------------
r23069 | metze | 2007-05-22 13:23:36 +0200 (Tue, 22 May 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm

print out the command, to find out the problem on host 'tridge'

metze
------------------------------------------------------------------------
r23071 | metze | 2007-05-22 14:45:58 +0200 (Tue, 22 May 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm

print the command on failure only

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

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

16 years agoUMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory
kukosa [Fri, 25 May 2007 06:54:39 +0000 (06:54 +0000)]
UMTS RRC updated to 3GPP TS 25.331 V7.4.0 (2007-03) and moved to one directory

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

16 years agoFix for bug 1614:
jake [Fri, 25 May 2007 06:46:47 +0000 (06:46 +0000)]
Fix for bug 1614:
Output preamble and finale on live capture.

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

16 years agoFrom Brian Vandenberg:
jake [Fri, 25 May 2007 06:35:21 +0000 (06:35 +0000)]
From Brian Vandenberg:
I ran into a problem trying to debug some of my stuff yesterday that depends on the http dissector, and the server I'm working with defaults to ssl traffic; whenever I try to debug it, it always gets hung up on the lines I mentioned in the email quoted below (within the ssl dissector).

It seems the culprit is in the use of g_malloc within ssl_data_alloc, and free (instead of g_free) in  tls_prf.

I've attached the diff for the fixes I made.

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

16 years agoPrepare wireshark and tshark for wiretap plugins
lego [Thu, 24 May 2007 22:26:51 +0000 (22:26 +0000)]
Prepare wireshark and tshark for wiretap plugins

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

16 years agoMake it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
etxrab [Thu, 24 May 2007 20:42:55 +0000 (20:42 +0000)]
Make it possible to "decode as" NBAP over SCTP, update IANA registered PPID's
for SCTP.

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

16 years agoHelp for the SCTP Users Table
lego [Thu, 24 May 2007 20:40:42 +0000 (20:40 +0000)]
Help for the SCTP Users Table

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

16 years agoNo longer needed as nothing is exported.
etxrab [Thu, 24 May 2007 19:11:04 +0000 (19:11 +0000)]
No longer needed as nothing is exported.

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

16 years agoFix a crash bug found through fuzz testing. The bug was introduced
gerald [Thu, 24 May 2007 17:36:07 +0000 (17:36 +0000)]
Fix a crash bug found through fuzz testing.  The bug was introduced
after the 0.99.5 release.

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

16 years agoGet rid of CR's, and add a newline at the end.
guy [Thu, 24 May 2007 17:02:06 +0000 (17:02 +0000)]
Get rid of CR's, and add a newline at the end.

Set svn:keywords and svn:eol-style appropriately.

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

16 years agoWhen computing average: use 0 as avg if divisor=0
wmeier [Thu, 24 May 2007 16:18:33 +0000 (16:18 +0000)]
When computing average: use 0 as avg if divisor=0

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

16 years agofix rrlp subdissector calling
kukosa [Thu, 24 May 2007 13:30:45 +0000 (13:30 +0000)]
fix rrlp subdissector calling

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

16 years agofew BER dissectors regenerated
kukosa [Thu, 24 May 2007 12:36:41 +0000 (12:36 +0000)]
few BER dissectors regenerated

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

16 years ago- RNSAP calls RRC through dissector handle instead of direct function call
kukosa [Thu, 24 May 2007 12:30:38 +0000 (12:30 +0000)]
- RNSAP calls RRC through dissector handle instead of direct function call
- PER dissectors regenerated

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

16 years agoBack out the previous change.
guy [Thu, 24 May 2007 12:00:55 +0000 (12:00 +0000)]
Back out the previous change.

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

16 years agoTemporarily turn on a bunch of warnings and turn off -Werror, to see
guy [Thu, 24 May 2007 11:43:53 +0000 (11:43 +0000)]
Temporarily turn on a bunch of warnings and turn off -Werror, to see
what the complete set of warnings we should either try to fix or, for
cases where it can't be fixed, turn off or or avoid -Werror for.  I'll
revert this change as soon as a complete set of buildbot builds start
with it.

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

16 years ago- improvements in registering dissectors to OID table (value defined in ASN.1 can...
kukosa [Thu, 24 May 2007 07:19:21 +0000 (07:19 +0000)]
- improvements in registering dissectors to OID table (value defined in ASN.1 can be used)
- new #.END_OF_CNF directive

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

16 years agoUse the same workaround for the absence of rint() in MSVC++ that's used
guy [Thu, 24 May 2007 02:10:49 +0000 (02:10 +0000)]
Use the same workaround for the absence of rint() in MSVC++ that's used
by the TCP graph code.

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

16 years agoEmphasize that if you try to build on a system without GTK+ installed,
guy [Thu, 24 May 2007 02:08:49 +0000 (02:08 +0000)]
Emphasize that if you try to build on a system without GTK+ installed,
the configure script will fail unless you explicitly say you don't want
Wireshark built.

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

16 years agoFix 'Analyze ! Enabled_Protocols' search to search on correct column.
wmeier [Thu, 24 May 2007 01:05:08 +0000 (01:05 +0000)]
Fix 'Analyze ! Enabled_Protocols' search to search on correct column.

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

16 years agoPut in some forgotten actx.
etxrab [Wed, 23 May 2007 20:49:53 +0000 (20:49 +0000)]
Put in some forgotten actx.

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

16 years agosmall fix in duplicate type warning
kukosa [Wed, 23 May 2007 19:35:29 +0000 (19:35 +0000)]
small fix in duplicate type warning

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

16 years agoAdd shortcuts for expanding/collapsing the packet detail.
gerald [Wed, 23 May 2007 17:12:01 +0000 (17:12 +0000)]
Add shortcuts for expanding/collapsing the packet detail.

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

16 years agoCorrected dissection of read requests when no object indexes are supplied, i.e. index...
grahamb [Wed, 23 May 2007 16:35:42 +0000 (16:35 +0000)]
Corrected dissection of read requests when no object indexes are supplied, i.e. index field is 0

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

16 years agowarning fix: passing argument 2 of 'iconv' from incompatible pointer type
jmayer [Wed, 23 May 2007 15:42:48 +0000 (15:42 +0000)]
warning fix: passing argument 2 of 'iconv' from incompatible pointer type

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

16 years agofix warning
kukosa [Wed, 23 May 2007 14:31:12 +0000 (14:31 +0000)]
fix warning

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

16 years ago- support of CONTAINING constraint in OCTET STRING and BIT STRING
kukosa [Wed, 23 May 2007 13:42:05 +0000 (13:42 +0000)]
- support of CONTAINING constraint in OCTET STRING and BIT STRING
- fix handling of tag for EXTERNAL type
- change automatic postfix for duplicate names from '...%d' to '..._%02d'

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

16 years agosupport of CONTAINING constraint in OCTET STRING and BIT STRING
kukosa [Wed, 23 May 2007 13:36:25 +0000 (13:36 +0000)]
support of CONTAINING constraint in OCTET STRING and BIT STRING

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

16 years agoFix for bug 1601: handle zero length packets.
jake [Wed, 23 May 2007 06:03:48 +0000 (06:03 +0000)]
Fix for bug 1601: handle zero length packets.

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

16 years agoPut in some more, hopfully correct casts.
etxrab [Wed, 23 May 2007 05:27:17 +0000 (05:27 +0000)]
Put in some more, hopfully correct casts.

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

16 years agoHandle characters with the 8th bit set.
guy [Wed, 23 May 2007 01:27:57 +0000 (01:27 +0000)]
Handle characters with the 8th bit set.

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

16 years agoPut back some more missing casts.
guy [Wed, 23 May 2007 00:28:59 +0000 (00:28 +0000)]
Put back some more missing casts.

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

16 years agoPut back some casts, and don't use rint() on Windows, in the hopes of
guy [Tue, 22 May 2007 23:56:52 +0000 (23:56 +0000)]
Put back some casts, and don't use rint() on Windows, in the hopes of
clearing up at least some buildbot errors on Windows.

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

16 years agoshow the directory name in replies to CreateDir/Checkdir and DeleteDir
sahlberg [Tue, 22 May 2007 23:12:58 +0000 (23:12 +0000)]
show the directory name in replies to CreateDir/Checkdir and DeleteDir

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

16 years agoDon't set the focus on the display filter entry when we're passed a
gerald [Tue, 22 May 2007 23:06:22 +0000 (23:06 +0000)]
Don't set the focus on the display filter entry when we're passed a
contorl- or alt-modified character.  Fixes bug 1610.

Fixup whitespace.

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

16 years agoshow the filename that was to be deleted in the Delete reply
sahlberg [Tue, 22 May 2007 23:05:25 +0000 (23:05 +0000)]
show the filename that was to be deleted in the Delete reply

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

16 years agoFix for bug #1598 - add support for PRSVP (RSVP encapsulated in UDP port 3455)
sfisher [Tue, 22 May 2007 22:55:09 +0000 (22:55 +0000)]
Fix for bug #1598 - add support for PRSVP (RSVP encapsulated in UDP port 3455)

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

16 years agoRegenerate dissector with -X and -T directives.
etxrab [Tue, 22 May 2007 21:17:08 +0000 (21:17 +0000)]
Regenerate dissector with -X and -T directives.

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

16 years agoFrom Irene Ruengeler: Fix TSN handling in graphs.
tuexen [Tue, 22 May 2007 21:16:30 +0000 (21:16 +0000)]
From Irene Ruengeler: Fix TSN handling in graphs.

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

16 years agoUpdate the EXTERNAL dissection code(still unfinished).
etxrab [Tue, 22 May 2007 21:15:00 +0000 (21:15 +0000)]
Update the EXTERNAL dissection code(still unfinished).

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

16 years agoCopy paste error, actx duplicated.
etxrab [Tue, 22 May 2007 21:13:55 +0000 (21:13 +0000)]
Copy paste error, actx duplicated.

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

16 years agoAdd a note about the recent change in "--disable-wireshark" behavior to
gerald [Tue, 22 May 2007 19:05:27 +0000 (19:05 +0000)]
Add a note about the recent change in "--disable-wireshark" behavior to
the release notes.

Add a couple of updates to the packaging doc.

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

16 years agoWith at least some compilers, "enum QUALITY_TYPE" is unsigned, and the
guy [Tue, 22 May 2007 17:32:39 +0000 (17:32 +0000)]
With at least some compilers, "enum QUALITY_TYPE" is unsigned, and the
compiler warns about checking whether it's >= 0, as it always is.

Don't do that check - we don't use "type" until the switch statement,
and GCC should issue a warning if not all valid "enum QUALITY_TYPE"
values are handled in the switch statement.

Sort the items in the switch statement in the order in which they appear
in the enum definition, so it's clearer that it covers all values.

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

16 years agoPrepare for the use of the new -X parameter for BER encoded protocols.
etxrab [Tue, 22 May 2007 16:17:54 +0000 (16:17 +0000)]
Prepare for the use of the new -X parameter for BER encoded protocols.

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

16 years agoDon't generate enums that end in a comma
jmayer [Tue, 22 May 2007 16:14:28 +0000 (16:14 +0000)]
Don't generate enums that end in a comma

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

16 years agoCode cleanups, some parsing errors fixed, added more object types
grahamb [Tue, 22 May 2007 16:01:25 +0000 (16:01 +0000)]
Code cleanups, some parsing errors fixed, added more object types

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

16 years agorevert changes of r21879 which fix gcc bugs. These changes was from mipv4
standel [Tue, 22 May 2007 13:47:45 +0000 (13:47 +0000)]
revert changes of r21879 which fix gcc bugs. These changes was from mipv4
improvements patch.

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

16 years agoTrivial warning fixes:
jmayer [Tue, 22 May 2007 13:17:24 +0000 (13:17 +0000)]
Trivial warning fixes:

opcua: warning: function declaration isn't a prototype
rest: comma at end of enumerator

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

16 years agoMake sure we compare against something ("") in case
jmayer [Tue, 22 May 2007 13:16:36 +0000 (13:16 +0000)]
Make sure we compare against something ("") in case
GTK_CONFIG is empty.

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

16 years agoIf GTK+ isn't available, fail unless the user explicitly specified
guy [Tue, 22 May 2007 07:52:11 +0000 (07:52 +0000)]
If GTK+ isn't available, fail unless the user explicitly specified
"--disable-wireshark"; if they haven't explicitly said that they don't
want Wireshark, assume they do, and that they won't be happy if, when
the build finishes, they don't have Wireshark and weren't made
sufficiently aware that they wouldn't get it.

People who want to build TShark for machines that don't have GTK+
installed, but don't want to build Wireshark because they can't install
GTK+ on the build/target machine, can still do that; they just have to
explicitly specify "--disable-wireshark" to do it.

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

16 years ago"make maintainer-clean" cleans up everything that "make distclean" does;
guy [Tue, 22 May 2007 07:21:12 +0000 (07:21 +0000)]
"make maintainer-clean" cleans up everything that "make distclean" does;
there's no need for files in DISTCLEANFILES to be in
MAINTAINERCLEANFILES as well.

In epan, split the generated source files into those that should be
cleaned by "make distclean" and those that shouldn't, and have
DISTCLEANFILES include only the ones that should be cleaned by "make
distclean" and have MAINTAINERCLEANFILES include the ones that shouldn't
be cleaned by "make distclean".  This should fix bug 1595.

The generated source files don't need to be in EXTRA_DIST.

Use LIBWIRESHARK_DISTCLEAN_GENERATED_SRC and
LIBWIRESHARK_NODISTCLEAN_GENERATED_SRC in epan/Makefile.nmake.

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

16 years agoimprove FIND_FIRST2 useability in the same way as in the previous
sahlberg [Tue, 22 May 2007 03:55:54 +0000 (03:55 +0000)]
improve FIND_FIRST2 useability in the same way as in the previous
patches

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

16 years agoremember the object name from a QUERY_PATH_INFO and show it as a
sahlberg [Tue, 22 May 2007 03:33:51 +0000 (03:33 +0000)]
remember the object name from a QUERY_PATH_INFO and show it as a
generated item in the response.

also show the infolevel in the response as a generated item

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

16 years agofix gcc 4.2 warnings (qualifier type)
standel [Tue, 22 May 2007 03:30:28 +0000 (03:30 +0000)]
fix gcc 4.2 warnings (qualifier type)

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

16 years agofix an incorrect shift
sahlberg [Tue, 22 May 2007 02:55:14 +0000 (02:55 +0000)]
fix an incorrect shift

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

16 years agoadd empty_tcp_stream
wmeier [Tue, 22 May 2007 02:25:37 +0000 (02:25 +0000)]
add empty_tcp_stream

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

16 years agoDon't explicitly set the main window name unless you're changing the
guy [Tue, 22 May 2007 02:21:01 +0000 (02:21 +0000)]
Don't explicitly set the main window name unless you're changing the
state to "no packets", "file open", or "live capture in progress".

Instead, to update the main window title when the user-specified prefix
for the title changes:

save the un-decorated title as a data value attached to the main
window in set_main_window_name();

have a new routine to update the title, which fetches the
un-decorated title, decorates it, and sets the title to the
decorated value.

This fixes bug 1608.

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

16 years agoshow the QUERY_FS_INFO level as a generated item in the response packet
sahlberg [Tue, 22 May 2007 02:14:35 +0000 (02:14 +0000)]
show the QUERY_FS_INFO level as a generated item in the response packet

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

16 years agoadd the level of interest to the dissection of QUERY_PATH_INFO/QUERY_FILE_INFO...
sahlberg [Tue, 22 May 2007 01:42:56 +0000 (01:42 +0000)]
add the level of interest   to the dissection of QUERY_PATH_INFO/QUERY_FILE_INFO responses
as a generated item

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

16 years agoadd the disposition to the data we store for how a fid is opened
sahlberg [Tue, 22 May 2007 01:26:32 +0000 (01:26 +0000)]
add the disposition to the data we store for how a fid is opened

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

16 years agoFix bug #1600 in the Win32 file dialog (it was fixed for the GTK file dialog in SVN...
sfisher [Tue, 22 May 2007 00:33:46 +0000 (00:33 +0000)]
Fix bug #1600 in the Win32 file dialog (it was fixed for the GTK file dialog in SVN revision 21807).

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

16 years agoAdd new functions from SVN revision 21867 to libwireshark.def to get Windows builds...
sfisher [Tue, 22 May 2007 00:14:39 +0000 (00:14 +0000)]
Add new functions from SVN revision 21867 to libwireshark.def to get Windows builds going again

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

16 years agoHave the follow code keep track of whether there's any data in the TCP
guy [Tue, 22 May 2007 00:00:09 +0000 (00:00 +0000)]
Have the follow code keep track of whether there's any data in the TCP
stream, and, if there isn't, pop up a dialog indicating that there isn't
any data in the stream.  This fixes bug 1604.

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

16 years agoFrom Rob Casey a dissector for the KingFisher protocol
sahlberg [Mon, 21 May 2007 23:50:18 +0000 (23:50 +0000)]
From Rob Casey    a dissector for the KingFisher protocol

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

16 years agoAdd jEdit mark files svn:ignore.
gerald [Mon, 21 May 2007 22:40:13 +0000 (22:40 +0000)]
Add jEdit mark files svn:ignore.

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

16 years agoFrom Sake Blok:
sfisher [Mon, 21 May 2007 20:41:05 +0000 (20:41 +0000)]
From Sake Blok:

Fix for bug #1056

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

16 years agoHave init_progfile_dir() also check whether
guy [Mon, 21 May 2007 20:31:45 +0000 (20:31 +0000)]
Have init_progfile_dir() also check whether
WIRESHARK_RUN_FROM_BUILD_DIRECTORY is set and, if so and we weren't run
with special privileges, set the running_in_build_directory_flag.  Have
it do the same if it finds ".libs" in the pathname of the program and we
weren't run with special privileges, as that means it was probably run
from the libtool wrapper script and presumably thus isn't an installed
binary.

This means that get_credential_info() has to be called before
init_progfile_dir().

Clean up some indentation.

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

16 years agoput fwrite and fread into DISSECTOR_ASSERT in order to use the result
jmayer [Mon, 21 May 2007 19:43:17 +0000 (19:43 +0000)]
put fwrite and fread into DISSECTOR_ASSERT in order to use the result

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

16 years agoMake files more generic.
jake [Mon, 21 May 2007 18:08:47 +0000 (18:08 +0000)]
Make files more generic.

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