Commit Graph

27593 Commits

Author SHA1 Message Date
Bill Meier 4d33f9646e Use NULL instead of duplicate text for hf[] blurbs;
Remove empty proto_reg_handoff;
Replace a tab in a string with a space;
Use consistent identation.

svn path=/trunk/; revision=28299
2009-05-08 14:46:01 +00:00
Jaap Keuter 10e3b25e08 Clean up header fields.
svn path=/trunk/; revision=28298
2009-05-08 06:53:43 +00:00
Anders Broman b6e466bcf9 Updates from FreeRadius.
svn path=/trunk/; revision=28297
2009-05-08 06:10:30 +00:00
Bill Meier 18fac3d956 Use NULL instead of repeated,indentical text for blurbs in hf[];
Adjust some spacing;
Replace tab in string by a space;
Use #if 0... #endif instead of /* ... */ to comment out some code.

svn path=/trunk/; revision=28296
2009-05-07 21:22:36 +00:00
Jaap Keuter 829ff3a493 Clean up header file and dissector code. Update EAP numbers list.
svn path=/trunk/; revision=28295
2009-05-07 21:13:32 +00:00
Bill Meier fc0a57d2ca Restore original spacing in several constant strings
(as it was before I introduced some incorrect 'tabification' in SVN 27773)

svn path=/trunk/; revision=28294
2009-05-07 17:54:32 +00:00
Bill Meier d436de7985 Change some usage of tabs within string constants to spaces.
svn path=/trunk/; revision=28293
2009-05-07 15:30:59 +00:00
Bill Meier e88bdea0bb gtk_check_menu_item_set_show_toggle() is deprecated and not needed.
[show_toggle is always TRUE].

svn path=/trunk/; revision=28292
2009-05-07 14:35:02 +00:00
Martin Mathieson 5f875c1be5 Hide a couple of generated fields when they have uninteresting values.
svn path=/trunk/; revision=28291
2009-05-06 22:01:33 +00:00
Bill Meier 809966abb3 Analyze!EnabledProtocols: Remove unnecessary line of code added in the previous commit;
svn path=/trunk/; revision=28290
2009-05-06 15:38:43 +00:00
Bill Meier 2bcb8d7418 Analyze!Enabled Protocols: For OK/Apply/Cancel: Cancel reverts to "Last Saved" (ie: state after any Apply)
svn path=/trunk/; revision=28289
2009-05-06 15:27:39 +00:00
Jaap Keuter c9ce609c64 From Jared August:
Added the capability to dissect the ALTERNATE_TIME_OFFSET_INDICATOR TLV.

svn path=/trunk/; revision=28288
2009-05-06 07:12:07 +00:00
Guy Harris 15364303e1 The PID numbers came from http://www.iana.org/assignments/ethernet-numbers.
svn path=/trunk/; revision=28287
2009-05-06 00:59:59 +00:00
Guy Harris efafedd3e0 Add support for the IANA's OUI, and recognize NHRP-over-SNAP.
An NHRP extension offset of 0 is not an error - it means there are no
extensions.

Start using the address family number to determine the type of
link-layer addresses in NHRP.  Don't fetch IPv4 addresses and add them
to the tree - just use proto_tree_add_item().

svn path=/trunk/; revision=28286
2009-05-05 22:35:19 +00:00
Jörg Mayer 88714b7659 Goal: Make the airpcap GUI available on Linux.
Step1: Run "configure --enable-airpcap" and see what fails.

svn path=/trunk/; revision=28285
2009-05-05 21:38:26 +00:00
Guy Harris 9ed2e2b4fb The only callers of ethertype() should be dissectors for protocols with
Ethernet-type trailers; no callers are left that don't at least purport
to care about them.

svn path=/trunk/; revision=28284
2009-05-05 21:05:06 +00:00
Guy Harris 24e0aed945 Fix a comment.
svn path=/trunk/; revision=28283
2009-05-05 20:47:33 +00:00
Guy Harris cebd27b3c0 Update a comment (we can now fetch other dissectors' tables).
svn path=/trunk/; revision=28282
2009-05-05 20:46:21 +00:00
Guy Harris cfe974aadd The expert_item pointers and expert_status values don't need to be
static; make them auto variables.

Make sure that expert information is added outside "if (tree) { }", so
it gets added even if we're not building the protocol tree.

Clean up white space.

svn path=/trunk/; revision=28281
2009-05-05 19:33:46 +00:00
Anders Broman 6c46249150 Minor update from FreeRadius.
svn path=/trunk/; revision=28280
2009-05-05 18:40:47 +00:00
Anders Broman 2621fbbdf9 Change W->E for now removed functions.
svn path=/trunk/; revision=28279
2009-05-05 18:38:59 +00:00
Anders Broman 7daa41088b Get rid of deprecated functions by removing
"#if 0":ed code.

svn path=/trunk/; revision=28278
2009-05-05 18:37:22 +00:00
Anders Broman a388c435fc Get rid of deprecated functions:
gtk_type_class (); ->  g_type_class_ref ();

svn path=/trunk/; revision=28277
2009-05-05 18:35:44 +00:00
Bill Meier f7f397581e prefs_dlg: Cancel always reverts to "Last Saved" [Part 1]
svn path=/trunk/; revision=28276
2009-05-05 13:19:46 +00:00
Guy Harris 7e0b58eb0e Don't assume that the message type or the LS type are valid.
svn path=/trunk/; revision=28275
2009-05-05 08:48:18 +00:00
Michael Tüxen 21fcdad106 One more debug output.
svn path=/trunk/; revision=28274
2009-05-05 05:58:21 +00:00
Guy Harris b4d3b4244b Get rid of some other uses of ethertype() for protocols that don't have
a trailer.

Clean up the NHRP dissector's handling of the protocol ID to fully
implement RFC 2332 (and mention that 2332 is the RFC for NHRP).  Don't
compute the checksum unless we have all the packet data, and don't use
the captured length as the actual packet length.  Check for an invalid
extension offset value.  Get rid of some unneeded
tvb_ensure_bytes_exist() calls.  Dissect - and set the columns -
regardless of whether we're building the protocol tree.  Mark the packet
in error reports as an error packet.

svn path=/trunk/; revision=28273
2009-05-05 03:50:06 +00:00
Guy Harris 33ab682655 Use an emem_strbuf_t for the string for the subauthorities; it's a bit
cleaner, and also means that if there are no subauthorities we don't get
an uninitialized string.

svn path=/trunk/; revision=28272
2009-05-05 03:17:06 +00:00
Guy Harris a228b8239a Clean up white space.
svn path=/trunk/; revision=28271
2009-05-05 01:21:33 +00:00
Guy Harris 27bc1690c7 The reason why the expert_item value is null when performing a retap is
that a retap doesn't build the protocol tree unless there's a tap with a
filter; presumably "the expert_item value" refers to the item to which
expert information is being attached.

However, if there's no protocol item, the only thing
expert_add_info_format() doesn't do is set the severity and group for a
protocol item, but the expert info composite dialog doesn't appear to
look at that.

Thus, it appears we can just use cf_retap_packets(); do so, as it's
faster.

svn path=/trunk/; revision=28270
2009-05-05 00:35:54 +00:00
Stig Bjørlykke 6e0dc25aa9 From Didier Gautheron (bug 3126):
Update expert info icon on redissect.

svn path=/trunk/; revision=28269
2009-05-04 21:13:14 +00:00
Bill Meier 40d7944873 prefs_column: Rework & cleanup Column Preferences dialog code
- Re-create packet-list only when Columns change vs every time Edit!Preferences invoked;
 - Select next row in Column List after delete of a row;
 - Remove no-longer needed code;
 - ...

svn path=/trunk/; revision=28268
2009-05-04 14:46:51 +00:00
Bill Meier 99620ce502 Fix some spelling, reword some comments & etc.
svn path=/trunk/; revision=28267
2009-05-04 14:22:30 +00:00
Bill Meier 94c5bee0db prefs_dlg: Fix an inadvertant character deletion in last commit;
svn path=/trunk/; revision=28266
2009-05-03 17:57:06 +00:00
Bill Meier 6d5ce0f34e prefs_dlg: use consistent indentation
svn path=/trunk/; revision=28265
2009-05-03 17:50:51 +00:00
Michael Tüxen cd369fcbf8 Use a dynamic glib array instead of a static C array for
storing the interface specific data.

svn path=/trunk/; revision=28264
2009-05-03 17:43:41 +00:00
Jaap Keuter d094173961 From Brian M. Ames:
CIGI Version 3.3 has been released.  The attached diff brings the dissector for CIGI 
up to date with that standard.

svn path=/trunk/; revision=28263
2009-05-03 17:19:52 +00:00
Michael Tüxen 9366841f60 Add support for multiple IDBs. They can used different encapsulations.
svn path=/trunk/; revision=28262
2009-05-03 15:47:41 +00:00
Michael Tüxen 2d894fdd24 Improve handling of if_tsresol option.
svn path=/trunk/; revision=28261
2009-05-03 15:09:23 +00:00
Gerald Combs 5cbbebaf4a [Automatic manuf and enterprise-numbers update for 2009-05-03]
svn path=/trunk/; revision=28259
2009-05-03 15:03:31 +00:00
Bill Meier 7e78d6661a packet-mesh: remove forward declaration to non-existent reg_handoff
svn path=/trunk/; revision=28258
2009-05-03 13:36:29 +00:00
Michael Tüxen 6d0211be52 Use WTAP_FILE_TSPREC_NSEC as tsprecision. This makes it independent from the
interfaces. Convert other times appropriately.

svn path=/trunk/; revision=28257
2009-05-03 11:46:40 +00:00
Michael Tüxen 9447c434e9 Remove code that should have been removed by my last commit.
svn path=/trunk/; revision=28256
2009-05-03 10:38:41 +00:00
Michael Tüxen b9d34749e6 Use WTAP_ENCAP_PER_PACKET. This is an intermediate step towards supporting
multiple IDBs.

svn path=/trunk/; revision=28255
2009-05-03 09:56:53 +00:00
Guy Harris 4992896fa2 Don't use ethertype() - it's a bit of overkill.
svn path=/trunk/; revision=28254
2009-05-03 01:16:34 +00:00
Guy Harris 3593815455 Add the mesh header dissector for OLPC mesh network packets, and have
the LLC dissector recognize and handle those packets.

svn path=/trunk/; revision=28253
2009-05-02 21:51:51 +00:00
Michael Tüxen 3b23d3dbd5 Whitespace change.
svn path=/trunk/; revision=28252
2009-05-02 18:24:44 +00:00
Michael Tüxen accb3a9207 Fix the handling of non PB/EPB blocks after the initial SDB/IDB.
svn path=/trunk/; revision=28251
2009-05-02 17:10:01 +00:00
Jörg Mayer 339d3acd89 Add a few more elements, most of them without hf_ elements
yet.

svn path=/trunk/; revision=28250
2009-05-02 12:32:22 +00:00
Jaap Keuter ebb477cbfd From Reinhard Speyerer:
This patch fixes several misspellings/typos in Wireshark documentation.

svn path=/trunk/; revision=28249
2009-05-02 06:47:26 +00:00