Commit graph

5097 commits

Author SHA1 Message Date
Guy Harris
7f0c93cf5f Use "proto_tree_add_item()" to add IP addresses; that eliminates a bunch
of work *and* gets rid of the incorrect "convert from network to host
byte order and then byte-swap" code.

svn path=/trunk/; revision=5075
2002-04-01 22:40:20 +00:00
Guy Harris
db3328892c Fix to decoding of the AUTHORIZE call, from Mike Frisch.
svn path=/trunk/; revision=5074
2002-04-01 22:30:34 +00:00
Guy Harris
c0565b3fbe From Kikuchi Ayamura: include <ucd-snmp/ucd-snmp-config.h> to fix IRIX
compilation problems.

svn path=/trunk/; revision=5073
2002-04-01 22:00:00 +00:00
Guy Harris
f681e6f92c Bug fix from Mike Frisch.
svn path=/trunk/; revision=5072
2002-04-01 21:17:27 +00:00
Guy Harris
f969aba211 WebDAV support, and rewrite of the method-testing code to compute the
method length and use that in all comparisons, from Blair Cooper.

Fix the check for "M-" to check also whether there are at least two
characters in the line.

svn path=/trunk/; revision=5071
2002-04-01 21:12:31 +00:00
Guy Harris
3d6dc60340 From Andrew Feren: on Windows, in the drop-down list for the "Interface"
field in the "Capture Options" dialog, put the descriptive name of the
device in parentheses after the actual device path.

svn path=/trunk/; revision=5070
2002-04-01 21:09:59 +00:00
Guy Harris
8ae18ded80 From Andrew Feren: on Windows, in the drop-down list for the "Interface"
field in the "Capture Options" dialog, put the descriptive name of the
device in parentheses after the actual device path.

svn path=/trunk/; revision=5069
2002-04-01 03:55:44 +00:00
Guy Harris
5de2533f2d Start assigning ett_ values at 0, rather than 1; get rid of the reserved
ETT_NONE entry.

Initialize the "tree_type" field of a "field_info" structure to -1,
meaning "this has not been given a subtree".  Add checks before using
that field that it's in range.  That way, you have to create a subtree
before putting protocol tree items under another item.

We allocate the "tree_is_expanded" array when we've registered all
dissectors; there's no need to allocate it while we're registering
dissectors and, in fact, doing so means we leak memory (the memory for
the version we allocated while registering dissectors).

svn path=/trunk/; revision=5068
2002-04-01 02:00:53 +00:00
Guy Harris
d1f2aaf8ac Get rid of ett_ values for options with no subtrees.
Show the names of the control characters being mapped by the async
control character map option.

Use "proto_item_add_subtree()" to establish a subtree, so that the ett_
value gets associated with it.  (Unfortunately, "proto_item" and
"proto_tree" are typedefs for the same type, so checks for use of one
when you should be using the other aren't done at compile time.)

Get rid of some extra blanks before colons.

svn path=/trunk/; revision=5067
2002-04-01 00:51:43 +00:00
Guy Harris
f5c5669291 Get rid of unused arguments.
Use the "nb" argument to "redraw_hex_dump()", so we redraw the specified
byte view pane, rather than always redrawing the main window's byte view
pane (and never redrawing the byte view pane of additional packet
windows, so that the font for them doesn't change if you change the font
preference).

svn path=/trunk/; revision=5066
2002-03-31 23:11:04 +00:00
Guy Harris
48214be46f Get rid of an unused argument to "set_active_all()".
Mark as unused arguments that are now unused as a result of not passing
them to "set_active_all()".

svn path=/trunk/; revision=5065
2002-03-31 22:58:27 +00:00
Guy Harris
d535c27d4a The variables in question are only used if old unused code is present.
Fix the #ifdef.

svn path=/trunk/; revision=5064
2002-03-31 22:50:34 +00:00
Guy Harris
2963d86afd (Conditionally) mark unused variables as such.
svn path=/trunk/; revision=5063
2002-03-31 22:43:47 +00:00
Guy Harris
7212bcc1e9 Mark unused arguments as such.
svn path=/trunk/; revision=5062
2002-03-31 22:43:03 +00:00
Guy Harris
57294d193a Mark unused variables with _U_ if they can't be eliminated.
Use the "optp" argument in more option dissectors, and set the name of
the option in the table entries for those options - and for one option
where that name *was* being used.

Get rid of unused variables.

svn path=/trunk/; revision=5061
2002-03-31 22:37:09 +00:00
Guy Harris
d5f04f86bf Get rid of an unused variable.
svn path=/trunk/; revision=5060
2002-03-31 22:17:37 +00:00
Guy Harris
a955f48784 Get rid of unused arguments.
svn path=/trunk/; revision=5059
2002-03-31 22:12:45 +00:00
Guy Harris
e4cd1b156c Get rid of an unused argument.
Use the reported length, not the captured length, of a tvbuff when
scanning through it.

Mark unused arguments that can't be eliminated as unused.

svn path=/trunk/; revision=5058
2002-03-31 21:43:51 +00:00
Guy Harris
4872882127 Get rid of an unused variable.
#ifdef out definitions of variables used only if the #ifdef is true.

svn path=/trunk/; revision=5057
2002-03-31 21:38:47 +00:00
Guy Harris
cb4e9ba54b Get rid of an unused argument.
svn path=/trunk/; revision=5056
2002-03-31 21:36:05 +00:00
Guy Harris
4e2a32d091 Get rid of an unused variable.
svn path=/trunk/; revision=5055
2002-03-31 21:33:51 +00:00
Guy Harris
2429666433 Put the LANE packet type in the Info column for ATM LANE traffic.
Get rid of an unused variable.

svn path=/trunk/; revision=5054
2002-03-31 21:23:47 +00:00
Guy Harris
8ed5e80e14 From Joerg Mayer: get rid of unused function arguments.
svn path=/trunk/; revision=5053
2002-03-31 21:09:00 +00:00
Guy Harris
2eb1990b0b From Joerg Mayer: mark function arguments as unused.
svn path=/trunk/; revision=5052
2002-03-31 21:05:47 +00:00
Guy Harris
6bc1cb1c7d From Joerg Mayer: mark function arguments as unused.
svn path=/trunk/; revision=5051
2002-03-31 20:59:47 +00:00
Guy Harris
63e8447614 From Joerg Mayer: get rid of unused arguments, and mark those that can't
be eliminated (because the function is called through a pointer, and
other functions called through the same pointer *do* use the argument)
as unused.

svn path=/trunk/; revision=5050
2002-03-31 20:57:02 +00:00
Guy Harris
a412a0cec5 From Joerg Mayer: mark function arguments as unused.
svn path=/trunk/; revision=5049
2002-03-31 20:39:08 +00:00
Guy Harris
e321fcbaf5 From Dinesh Dutt: get rid of unused variables, and fix a bug in the way
the device type is determined (create the hash entry regardless of
whether a protocol tree is being built).

svn path=/trunk/; revision=5048
2002-03-31 20:28:41 +00:00
Gerald Combs
98d6968b59 Update NEWS to release 0.9.3.
svn path=/trunk/; revision=5047
2002-03-30 17:43:31 +00:00
Ronnie Sahlberg
25972db6bb copylen should be unsigned when we check the range since tvb_memcpy will be upset if a negative value is passed as len
svn path=/trunk/; revision=5044
2002-03-29 21:55:05 +00:00
Ronnie Sahlberg
9ededb6b99 len and max_len were swapped in the UNICODE_STRING dissector
svn path=/trunk/; revision=5043
2002-03-29 04:35:48 +00:00
Gerald Combs
dade8cbf56 Bump the version to 0.9.3. Update NEWS to be current to
http://www.ethereal.com/lists/ethereal-cvs/200203/msg00175.html (the
rest will be added later).

svn path=/trunk/; revision=5042
2002-03-29 03:33:59 +00:00
Gerald Combs
df166b9d44 Periodic update.
svn path=/trunk/; revision=5041
2002-03-29 01:45:42 +00:00
Gerald Combs
395cace9a7 From Jakob Schlyter: add "PRACK" and "SPRACK" methods.
Change the behavior of the dissector to treat anything matching
"^.* .+:.+ SIP/2.0$" as a SIP request.  Methods that don't match our list
are labelled "unknown".

Convert some tabs to spaces to match the rest of the code.

svn path=/trunk/; revision=5040
2002-03-29 01:25:57 +00:00
Ashok Narayanan
018dce8c50 Changed TBA GMPLS object numbers to proposed IETF numbers.
svn path=/trunk/; revision=5039
2002-03-29 00:41:54 +00:00
Guy Harris
66e39af899 From Michael Tuexen: update to draft-ietf-sigtran-m3ua-12.
svn path=/trunk/; revision=5038
2002-03-28 21:48:46 +00:00
Guy Harris
7644017ed8 From Michael Tuexen: update to draft-ietf-sigtran-m2pa-04.txt.
svn path=/trunk/; revision=5037
2002-03-28 21:41:30 +00:00
Guy Harris
c5aca06c06 Fix a typo.
Don't use the EAP ID of the first fragment as the reassembly key; that
might not work if EAP IDs are reused.  Use the frame number of the frame
containing the first fragment, instead.

svn path=/trunk/; revision=5036
2002-03-28 09:51:17 +00:00
Guy Harris
5445def34b Use the reported length, not the captured length, when iterating through
the tvbuff we're handed.

Handle record headers split across segment boundaries.

Don't set the column until we know we don't need to desegment.

svn path=/trunk/; revision=5035
2002-03-28 09:15:28 +00:00
Guy Harris
e6393bd15f Initialize the fields of "edt->pi" in order - and initialize some fields
that weren't being initialized.

svn path=/trunk/; revision=5034
2002-03-28 09:12:00 +00:00
Jun-ichiro itojun Hagino
e1eec942fd correct v3 checksum.
From: kazuyoshi.tomita@itg.hitachi.co.jp

svn path=/trunk/; revision=5033
2002-03-28 07:40:54 +00:00
Guy Harris
bacadc18cd The Unicode Consortium's country code table has been updated to
incorporate the fixes I sent them, so it now matches what we have.

svn path=/trunk/; revision=5032
2002-03-27 20:58:43 +00:00
Guy Harris
f142576b0d Updates from Paul Erkkila.
svn path=/trunk/; revision=5031
2002-03-27 20:29:05 +00:00
Guy Harris
f9dff515d5 Add an item for Adam Sulmicki's other EAP enhancements.
svn path=/trunk/; revision=5030
2002-03-27 20:14:06 +00:00
Guy Harris
e22eb49cb0 Cisco updates from Adam Sulmicki.
svn path=/trunk/; revision=5029
2002-03-27 19:39:28 +00:00
Guy Harris
435f99fa72 Cleanups from Adam Sulmicki.
svn path=/trunk/; revision=5028
2002-03-27 19:38:37 +00:00
Guy Harris
7f0fe3072f Put a tree with information about the WTP fragments into the tree if
we've reassembled a message.

svn path=/trunk/; revision=5027
2002-03-27 07:44:33 +00:00
Guy Harris
6cb7af661a From Adam Sulmicki: EAP-TLS reassembly.
(Modified not to use global variables for state, but to keep state in
the conversation, to use "fragment_add_seq()", and to make the protocol
tree entries for the fragment list refer to the reassembled data and to
make the entries for items in that list refer to the part that item
contributed to that data.)

svn path=/trunk/; revision=5026
2002-03-27 07:41:20 +00:00
Guy Harris
588c50944d In the protocol tree entries for lists of fragments/segments, make the
top-level item correspond to the reassembled data, and make the item for
each fragment/segment correspond to the part of that reassembled data
that came from that fragment/segment.

svn path=/trunk/; revision=5025
2002-03-27 04:27:05 +00:00
Guy Harris
31cf9563c2 From Adam Sulmicki: enhanced Cisco support, Microsoft vendor ID, and
fixing a typo in a #define.

svn path=/trunk/; revision=5024
2002-03-27 02:37:14 +00:00