Commit Graph

27460 Commits

Author SHA1 Message Date
Bill Meier 10bb70f09d FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
svn path=/trunk/; revision=28316
2009-05-08 20:15:35 +00:00
Bill Meier 87d06b8892 Fix a typo from the previous commit .....
svn path=/trunk/; revision=28315
2009-05-08 20:12:52 +00:00
Tomas Kukosa 0a101aacf6 Make gtk/capture_if_details_dlg_win32.c compileable using MSVC6 with SDK
svn path=/trunk/; revision=28314
2009-05-08 19:53:41 +00:00
Bill Meier 8e23d11ae5 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
svn path=/trunk/; revision=28313
2009-05-08 19:43:50 +00:00
Bill Meier ab291b9c00 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Also: Change FT_BOOLEAN with no bitmask from BASE_DEC to BASE_NONE.

svn path=/trunk/; revision=28312
2009-05-08 19:42:58 +00:00
Bill Meier 636147e417 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Also: Use global tfs_yes_no TFS structure in two cases (packet-ipv6.c)

svn path=/trunk/; revision=28311
2009-05-08 18:39:17 +00:00
Anders Broman 4c2cdc36bc Clist -> list_store
svn path=/trunk/; revision=28310
2009-05-08 18:12:13 +00:00
Anders Broman ca3cca594a Update a comment.
svn path=/trunk/; revision=28309
2009-05-08 18:11:39 +00:00
Anders Broman b68b9d2ccf From Reinhard Speyerer:
GSM DTAP: incorrect display of Suppl. Service Message.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3452
Patch slightly modified.

svn path=/trunk/; revision=28308
2009-05-08 18:10:39 +00:00
Bill Meier fef69c8dd3 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Use consistent indentation.


svn path=/trunk/; revision=28307
2009-05-08 17:48:23 +00:00
Bill Meier 9af5304276 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Replace blurbs identical with title in hf[] with NULL;
Use consistent indentation.

svn path=/trunk/; revision=28306
2009-05-08 17:25:23 +00:00
Bill Meier 3c12ce0f30 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Replace "" (or repeated text) blurbs in hf[] with NULL;
Use consistent indentation.

svn path=/trunk/; revision=28305
2009-05-08 16:45:56 +00:00
Stig Bjørlykke 3dc9b64560 Adjusted arguments used in Lua Pref.statictext()
Update Lua documentation:
- Fixed Pref.enum, Pref.range and Pref.statictext
- Fixed the equivalent comment for pinfo.cols
- Do not have a comment star (*) in the documentation
- Be consistent and start all sentences with a capital letter

svn path=/trunk/; revision=28304
2009-05-08 16:40:38 +00:00
Bill Meier ba2e20b5d8 FT_BOOLEAN fields with bitmask: Display is 'parent bitfield width' not BASE...
Replace "" (or repeated text) blurbs in hf[] with NULL;

svn path=/trunk/; revision=28303
2009-05-08 15:27:36 +00:00
Jörg Mayer af417beb8e Warningfix:
function() -> function(void)

svn path=/trunk/; revision=28302
2009-05-08 15:16:07 +00:00
Bill Meier 0274ef3673 Use NULL instead of repeated identical text if hf[] blurbs;
Use #if 0 ... #endif instead of /* ... */ to comment out code;
Reformat some long lines;
Use consistent indentation.


svn path=/trunk/; revision=28301
2009-05-08 15:03:11 +00:00
Bill Meier 731fb6b9f5 Remove 2 tabs in strings;
Minor code formatting changes;
Remove unnecessary  forward declaration.

svn path=/trunk/; revision=28300
2009-05-08 14:48:42 +00:00
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