Bill Meier
9874da2fcb
#if 0 numerous "unused const variables" (mostly value-string-arrays);
...
Also; fix a few "set but not used" warnings.
svn path=/trunk/; revision=52780
2013-10-23 06:29:11 +00:00
Bill Meier
2ac134b3c5
whitespace fixes; mostly: remove trailing blanks
...
svn path=/trunk/; revision=52591
2013-10-13 19:56:52 +00:00
Jörg Mayer
23d3e3d665
Dario Lombardo <lomato@gmail.com> via
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9147
Migration from emem to wmem for trivial cases (ep_alloc only).
svn path=/trunk/; revision=52002
2013-09-13 10:13:19 +00:00
Anders Broman
3eb06be97d
From beroset:
...
remove C++ incompatibilities
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416
svn path=/trunk/; revision=48425
2013-03-19 19:28:57 +00:00
Evan Huus
2a1e61d582
From Kaushal Shah via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8021
...
Experimental and Reserved sub-TLVs from [RFC 3630]
From me: use consistent whitespace
svn path=/trunk/; revision=47155
2013-01-18 22:04:15 +00:00
Bill Meier
82d40100d2
Change 'for (i=1; i<=n;...' to 'for (i=0; i<n; ...)'
...
Done on general principles altho upon inspection
none of the cases changed would have actually
resulted in an infinite loop.
svn path=/trunk/; revision=45478
2012-10-11 19:39:32 +00:00
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
Anders Broman
607d32b00d
From David Ward: OSPF dissector: add filters for v3 LS Type field. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7684
...
svn path=/trunk/; revision=44720
2012-09-01 07:42:07 +00:00
Bill Meier
5452b8a20c
Extern (and use) extended value string instead of the associated value string array.
...
svn path=/trunk/; revision=44665
2012-08-25 01:20:32 +00:00
Bill Meier
638d74d43f
Use val_to_str_const() where appropriate;
...
Also (for a few files):
- create/use some extended value strings;
- remove unneeded #include files;
- remove unneeded variable initialization;
- re-order fcns slightly so prefs_reg_handoff...() at end, etc
svn path=/trunk/; revision=44438
2012-08-10 22:55:02 +00:00
Michael Mann
1d9c472cae
convert some simple uses to use ephemeral memory
...
svn path=/trunk/; revision=44413
2012-08-10 02:05:19 +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
pascal
acc2a3706b
Fix RVALS() macro usage
...
svn path=/trunk/; revision=42720
2012-05-19 19:05:36 +00:00
Guy Harris
3067d31c24
Get rid of remaining Booleans-as-encoding-arguments in
...
proto_tree_add_item() calls. (The only non-integral/non-boolean fields
aren't fetched as array elements.)
svn path=/trunk/; revision=42501
2012-05-08 02:41:15 +00:00
Alexis La Goutte
ead53c19a2
Fix some Dead Store (Dead assignement/Dead increment) Warning found by Clang
...
svn path=/trunk/; revision=40094
2011-12-04 18:43:18 +00:00
Jaap Keuter
a2e9d7d56c
From Salil Kanitkar:
...
This patch covers following -
i) Support for detecting OSPFv2 Opaque RI LSA. (RFC4970)
ii) Support for detecting OSPFv2 RI Capabilities TLV (RFC4970)
iii) Support for detecting OSPF Dynamic Hostname TLV (RFC5642)
iv) As per RFC4970, support for detecting RI LSA for OSPFv3 as well.
svn path=/trunk/; revision=40073
2011-12-02 23:42:52 +00:00
Bill Meier
20e3e0b5b5
Fix some proto_tree_add_item() encoding args;
...
In some files:
Remove a few unneeded #includes;
Do some whitespace/indentation cleanup
svn path=/trunk/; revision=39635
2011-10-27 15:59:12 +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
f1b784b474
More conversions of proto_tree_add_item() 'encoding' arg
...
svn path=/trunk/; revision=39467
2011-10-19 15:04:44 +00:00
Jeff Morriss
339136d1d0
Based on patch from Denis Ovsienko via
...
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6244 :
Fix typo: s/unkown/unknown/
svn path=/trunk/; revision=38561
2011-08-16 13:16:33 +00:00
Stig Bjørlykke
d79ac3d6b8
Added some missing breaks.
...
Coverity 466.
svn path=/trunk/; revision=36358
2011-03-27 13:30:39 +00:00
Bill Meier
bdd6f7f692
Re-arrange code so Coverity Prevent doesn't falsely report several INFINITE_LOOPs: Coverity 427-429 (run 617)
...
svn path=/trunk/; revision=36233
2011-03-22 00:38:55 +00:00
Jeff Morriss
6cfdeed280
Replace ip_to_str((tvb_get_ptr(...)) with tvb_ip_to_str().
...
Replace ip6_to_str((tvb_get_ptr(...)) with tvb_ip6_to_str().
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()s.
Replace some memcpy()+tvb_get_ptr() with tvb_memcpy().
svn path=/trunk/; revision=35529
2011-01-14 03:44:58 +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
Bill Meier
dac0bf77ed
Fix cases where the type of a for loop variable is smaller than the type of the "end" variable.
...
In some cases the usage may have been benign since it can be seen by code inspection that the maximum value of the end variable can't exceed the maximum value of the loop variable.
However, on general principles, all the usages have been fixed.
svn path=/trunk/; revision=33692
2010-08-02 13:09:01 +00:00
Stig Bjørlykke
61cc66770a
Removed leading empty line.
...
svn path=/trunk/; revision=33278
2010-06-21 11:30:27 +00:00
Bill Meier
e1420c0799
Fix a few usages of "" in the hfp] array 'blurb' field.
...
svn path=/trunk/; revision=32811
2010-05-14 18:56:28 +00:00
Bill Meier
09764dd969
Remove unneeded #include <stdio.h>
...
svn path=/trunk/; revision=32367
2010-04-03 21:55:23 +00:00
Bill Meier
9b568ea691
Fix gcc -Wshadow warnings
...
svn path=/trunk/; revision=31561
2010-01-19 00:37:39 +00:00
Anders Broman
26658ed017
From Francesco Fondelli:
...
RSVP extensions for G.709 Optical Transport Networks Control, RFC 4328
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4148
With some changes from me:
-(readme.developer:" Furthermore, 'display' field must be ORed with 'BASE_RANGE_STRING' (e.g. BASE_DEC|BASE_RANGE_STRING)."
- Prefix headerfields with hf_
- Remove check_col
svn path=/trunk/; revision=30727
2009-10-27 06:05:02 +00:00
Jeff Morriss
bc0a9f12d3
From Edward J. Paradise via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3954 :
...
The A and N bit descriptions should be Always and Never, not Answer and
Incomplete.
svn path=/trunk/; revision=29832
2009-09-10 02:15:55 +00:00
Stig Bjørlykke
3f5e66a999
Added support for Multi-Topology (MT) Routing (RFC4915)
...
Added W and N flags
Fixed some string capitalizations.
svn path=/trunk/; revision=29823
2009-09-09 15:06:38 +00:00
Kovarththanan Rajaratnam
8b515e9340
Switch a bunch of dissectors over to using tvb_new_subset_remaining()
...
svn path=/trunk/; revision=29446
2009-08-16 12:36:22 +00:00
Kovarththanan Rajaratnam
0a5b014cec
Don't guard col_clear with col_check
...
svn path=/trunk/; revision=29344
2009-08-09 07:36:13 +00:00
Kovarththanan Rajaratnam
e971354a54
Don't guard col_set_str (COL_PROTOCOL) with col_check
...
svn path=/trunk/; revision=29340
2009-08-09 06:26:46 +00:00
Gerald Combs
e951661130
Remove some unused variable assignments.
...
svn path=/trunk/; revision=29243
2009-07-30 16:17:46 +00:00
Stig Bjørlykke
7f77783e20
From Kovarththanan Rajaratnam:
...
More header field info cleanup in plugins/* and epan/dissectors/*
svn path=/trunk/; revision=28811
2009-06-22 18:23:58 +00:00
Stig Bjørlykke
f8c959dc8c
From Kovarththanan Rajaratnam:
...
Move header field info declarations into function scope.
This is the first step. Another patch will be submitted which actually scrubs
the header field info declarations (remove empty blurbs, etc.)
svn path=/trunk/; revision=28797
2009-06-22 04:58:08 +00:00
Stig Bjørlykke
0530813ecd
From Edward J. Paradise via bug 3520:
...
From revision 00 to revision 01 the tlv values changed for the SCS TLV's.
svn path=/trunk/; revision=28679
2009-06-09 21:41:53 +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
Bill Meier
321506c076
(Trivial) Fix some spelling & etc in comments
...
svn path=/trunk/; revision=27996
2009-04-08 13:41:30 +00:00
Bill Meier
d6a5a7c761
P64 changes: Fix some cases for which size_t is not required
...
svn path=/trunk/; revision=27822
2009-03-22 20:55:31 +00:00
Bill Meier
c0e92cbc04
Fix various typos and spelling errors (mostly in text strings)
...
svn path=/trunk/; revision=27065
2008-12-20 00:09:02 +00:00
Stig Bjørlykke
1f0674d480
Highlight the "Auth Data" bytes when selecting "OSPF Header".
...
svn path=/trunk/; revision=26845
2008-11-25 17:23:36 +00:00
Stig Bjørlykke
e6a22e689e
Fix some "format not a string literal and no format arguments" warnings.
...
svn path=/trunk/; revision=26648
2008-10-31 15:34:00 +00:00
Stig Bjørlykke
7cba595943
From Edward J. Paradise (bug 2775):
...
Patch to fix windows compile errors.
svn path=/trunk/; revision=26015
2008-08-14 16:31:07 +00:00
Jaap Keuter
997e9162d0
From Edward J. Paradise:
...
This proposed patch adds decoding and filtering support for:
*draft-ietf-ospf-manet-or-00
*draft-ietf-ospf-af-alt-06
to packet-ospf.c
Some code cleanup added
svn path=/trunk/; revision=26011
2008-08-14 06:00:09 +00:00
Bill Meier
b3aa52f573
Fix some of the Errors/warnings detected by checkapi.
...
svn path=/trunk/; revision=25307
2008-05-15 12:54:27 +00:00
Jaap Keuter
c9db014cd4
From Roberto Morro:
...
New display filters added to LOCAL_NODE_ID and REMOTE_NOTE_ID SubTLVs (MPLS_TE
opaque LSA)
svn path=/trunk/; revision=24884
2008-04-10 21:42:19 +00:00
Sake Blok
6bec9d3d9e
From tmiller@hcjbtech.org : Spelling error on GDS DB protocol dissector: "Buffer lenght:"
...
(recursively grepped through the source and corrected all occurences, even
the ones just in comments)
svn path=/trunk/; revision=23211
2007-10-16 23:42:33 +00:00