aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isis-clv.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-25Add some additional sanity checks.Guy Harris1-0/+4
svn path=/trunk/; revision=46745
2012-12-21Check whether something's too big before subtracting it from anotherGuy Harris1-5/+5
variable. Adjust offset and len in parallel. svn path=/trunk/; revision=46665
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-08-10Use val_to_str_const() where appropriate;Bill Meier1-2/+2
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-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-05-02From "oss.2nerds":Anders Broman1-2/+8
IEEE P802.1aq/D3.6 and the corresponding IETF draft (http://tools.ietf.org/html/draft-ietf-isis-ieee-aq-05) defines a series of new ISIS TLVs for the shortest-path-bridging protocol. The attached patch file contains a simple dissector for one such TLV (the MT-Port-Cap TLV) and several corresponding sub-TLVs (mcid, aux_mcid, digest, and b-vid). The digest sub-TLV dissector has not been exercised because no suitable capture files are available (the digest sub-TLV seems not to be widely implemented at this point in time). Note that the codepoints mentioned in the IETF draft have changed. The IANA-assigned codepoints are further described in these pages: http://www.ietf.org/mail-archive/web/spb-isis/current/msg00007.html http://www.iana.org/assignments/isis-tlv-codepoints/isis-tlv-codepoints.xml#tlv-143 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7154 svn path=/trunk/; revision=42385
2011-10-27Fix proto_tree_add_item( encoding args;Bill Meier1-2/+2
Do whitespace cleanup (for a few files). svn path=/trunk/; revision=39640
2011-09-19Don't assign the return value of proto_tree_add_text() if it's not going to ↵Chris Maynard1-1/+1
be used. Fixes Coverity CID 1232. svn path=/trunk/; revision=39056
2011-05-18Mark a function arg as _U_Bill Meier1-1/+1
svn path=/trunk/; revision=37246
2011-05-18Don't assign to an unused 'proto_item *': Coverity 939 [UNUSED];Bill Meier1-2/+10
Don't create a subtree which is never used: Coverity 940 [UNUSED]. svn path=/trunk/; revision=37243
2011-01-16Use tvb_memeql().Jeff Morriss1-2/+2
Use tvb_ip_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 to ensure the return string is NULL terminated. svn path=/trunk/; revision=35547
2010-04-06#include <string.h> not needed.Bill Meier1-1/+0
svn path=/trunk/; revision=32411
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2008-08-26#include <emem.h> not req'dBill Meier1-1/+0
svn path=/trunk/; revision=26091
2008-06-25Constify a bunch of stuff, to squelch -Wwrite-strings warnings. Guy Harris1-1/+1
epan/dissectors/packet-ncp2222.inc is a bit hard to fix, so we're not ready to enable that warning by default yet. Throw in some casts to handle GLib routines that take arbitrary non-const pointers (they can later return the pointers, and some callers might want to modify or free up those pointers in cases where they're known to be writable or allocated). Use ep_tvb_memdup() rather than a combination of ep_alloc() and tvb_memcpy(). Clean up some indentation. svn path=/trunk/; revision=25601
2008-03-13From Hariharan Ananthakrishnan:Gerald Combs1-4/+6
I have added two new display filters to support filtering based on LSP-ID and hostname for ISIS protocol. svn path=/trunk/; revision=24621
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2005-09-17Move a pile of protocol-related headers from the top-level sourceGuy Harris1-1/+1
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
2005-09-01Use "proto_item_append_text()" rather than filling up an allocatedGuy Harris1-41/+39
buffer. This fixes one place where the "NLPID(s):" wasn't being put into the protocol tree item. svn path=/trunk/; revision=15658
2005-08-30move an array off the stack into emem allocated memoryRonnie Sahlberg1-9/+10
svn path=/trunk/; revision=15619
2005-08-30change g_string_sprintf() into g_snprintf()Ronnie Sahlberg1-70/+34
svn path=/trunk/; revision=15618
2005-04-22Fix a buffer overflow in isis_dissect_nlpid_clv().Gerald Combs1-17/+33
svn path=/trunk/; revision=14161
2004-07-18Move dissectors to epan/dissectors directory.Gilbert Ramirez1-0/+590
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. svn path=/trunk/; revision=11410