Commit Graph

16 Commits

Author SHA1 Message Date
Jeff Morriss 2552c750e5 We always HAVE_CONFIG_H so don't bother checking whether we have it or not.
svn path=/trunk/; revision=45017
2012-09-20 02:03:38 +00:00
Jakub Zawadzki bf81b42e1e Update Free Software Foundation address.
(COPYING will be updated in next commit)

svn path=/trunk/; revision=43536
2012-06-28 22:56:06 +00:00
Chris Maynard 951b5b9c54 Do not use BASE_NONE for FT_*INT* types.
svn path=/trunk/; revision=43179
2012-06-09 17:56:08 +00:00
Bill Meier 794757ae8f For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.
Also: remove trailing whitespace for a number of files.

svn path=/trunk/; revision=39503
2011-10-21 02:10:19 +00:00
Bill Meier 4e57694d4a Convert 'encoding' parameter of certain proto_tree_add_item() calls in non-autogenerated epan/dissectors:
Specifically:  Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as
 the encoding parameter for proto_tree_add_item() calls which directly reference
 an item in hf[] which has a type of:
    FT_UINT8
    FT_UINT16
    FT_UINT24
    FT_UINT32
    FT_UINT64
    FT_INT8
    FT_INT16
    FT_INT24
    FT_INT32
    FT_INT64
    FT_FLOAT
    FT_DOUBLE


svn path=/trunk/; revision=39288
2011-10-06 03:35:44 +00:00
Chris Maynard ea41f9a9d9 Delete eth_addr; it was assigned a value but never used. Fixes Coverity 1070.
svn path=/trunk/; revision=37087
2011-05-12 17:21:49 +00:00
Jeff Morriss 8d32d2066a There's no need to pass the result of tvb_get_ptr() as the 'value' in
proto_tree_add_*(): just use proto_tree_add_item().

Replace some tvb_get_ptr()s with tvb_get_ephemeral_string() or
tvb_get_const_stringz().

Use tvb_memeql() & tvb_memcmp().

svn path=/trunk/; revision=35558
2011-01-16 20:51:21 +00:00
Guy Harris a8bc4a0d13 Rename the routines that handle dissector tables with unsigned integer
keys to have _uint in their names, to match the routines that handle
dissector tables with string keys.  (Using _port can confuse people into
thinking they're intended solely for use with TCP/UDP/etc. ports when,
in fact, they work better for things such as Ethernet types, where the
binding of particular values to particular protocols are a lot
stronger.)

svn path=/trunk/; revision=35224
2010-12-20 05:35:29 +00:00
Jeff Morriss 381664535b As suggested by Kovarththanan Rajaratnam in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3548 :
Clean up hf fields some more: mostly removing leading and trailing spaces from names and blurbs.

svn path=/trunk/; revision=34165
2010-09-21 03:14:49 +00:00
Bill Meier 580a243361 As requested by David Aggeler:
About hf_, in

    { &hf_vmlab_flags_fragment, { "More Fragments", "vmlab.fragment", 
        FT_UINT8, BASE_HEX, VALS(fragment_vals), 0x04, NULL, HFILL }},

I'd like to keep BASE_NONE to avoid the number to show in brackets.


svn path=/trunk/; revision=32391
2010-04-05 21:14:05 +00:00
Bill Meier 23b15ef8aa Remove 'if (tree)' around code so that ethertype always gets called with correct values.
svn path=/trunk/; revision=32386
2010-04-05 17:55:57 +00:00
Bill Meier a05d96aa8e Cleanup:
- hf[] array:fix some "Display" fields: eg: FT_BOOLEAN to BASE_HEX
 - There's no prefs: thus no need for prefs_register_protocol
 - whitespace;
 ...

svn path=/trunk/; revision=32385
2010-04-05 17:31:28 +00:00
Guy Harris 9d52e57783 Put volatile back - without it, the compiler warns you.
svn path=/trunk/; revision=32384
2010-04-05 17:16:08 +00:00
Kovarththanan Rajaratnam 16c4e0d63f Remove volatile
svn path=/trunk/; revision=32383
2010-04-05 16:36:58 +00:00
Guy Harris 6b3033299d Get rid of unused variable.
svn path=/trunk/; revision=32382
2010-04-05 16:17:42 +00:00
Anders Broman 14e79052f8 From David Aggeler:
Support for VMware Lab Manager Host Spanning
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4186

svn path=/trunk/; revision=32380
2010-04-05 15:48:11 +00:00