aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tacacs.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-1/+1
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_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39328 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-13/+13
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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39288 f5534014-38df-0310-8fa8-9805f1628bb7
2010-12-20Rename the routines that handle dissector tables with unsigned integerguy1-3/+3
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.) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35224 f5534014-38df-0310-8fa8-9805f1628bb7
2010-05-28Move some code (including the optional objects) into libwsutilmorriss1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33012 f5534014-38df-0310-8fa8-9805f1628bb7
2009-11-23Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.stig1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31053 f5534014-38df-0310-8fa8-9805f1628bb7
2009-09-06Rename address_to_str() to ep_address_to_str() because:krj1-6/+6
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29747 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_clear with col_checkkrj1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29344 f5534014-38df-0310-8fa8-9805f1628bb7
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkkrj1-6/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29340 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-07Changed flags_set_truth -> tfs_set_notsetstig1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28989 f5534014-38df-0310-8fa8-9805f1628bb7
2009-05-13Apply some of the patches from:etxrab1-6/+1
http://wiki.wireshark.org/Development/Optimization git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28356 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-21Simplify headerfields a bit.jake1-19/+19
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28103 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-03More size_t.gerald1-1/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27943 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-20Fix various typos and spelling errors (mostly in text strings)wmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27065 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-31Fix bug #3020: Fix potential memory leakssfisher1-2/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26636 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-14Fix some of the Errors/warnings detected by checkapi.wmeier1-3/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25290 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-15don't use strdup() if you want to free the memory later with g_free(), this ↵ulfl1-1/+1
doesn't work (at least) on MSVC2005 builds! git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25037 f5534014-38df-0310-8fa8-9805f1628bb7
2008-02-07Removed some "statement not reached" warnings.stig1-4/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24282 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-30Use memcpy() to copy the session ID to the buffer, so we don't getguy1-2/+2
warnings from the compiler about pointer value alignment. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21629 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-26From Sebastien Tandel sahlberg1-1/+1
fixes for various compiler warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21210 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-24Fix for bug #1308: tacacs decoding fails. Introduce TCP desegmentation forsfisher1-1/+15
data after the fixed length header as some implementations may not send the header and payload in the same segment. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20544 f5534014-38df-0310-8fa8-9805f1628bb7
2007-01-02Move epan/crypt-md5.[ch] to epan/crypt. Removegerald1-1/+1
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20277 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-11More from Ilja van Sprundel. When we call tvb_new_subset() with agerald1-22/+27
length fetched using tvb_get_netohl(), make sure the length ends up being positive. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18714 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-04make the string allocated with g_,alloc since preferences have a scope ↵sahlberg1-1/+1
longer than se git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18651 f5534014-38df-0310-8fa8-9805f1628bb7
2006-07-04memory allocated by strdup is not frred by using g_freesahlberg1-9/+1
replace with se storage git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18650 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-25Add a URLjmayer1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17995 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-19Make sure we don't use the ADNS version of inet_aton; it's broken.gerald1-3/+0
This fixes bug 523, but exposes more of bug 658. The TACACS and SDP dissectors don't call inet_aton(), so don't include it. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17056 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-17remove g_malloc() from rip remove one g_malloc() from tacacssahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15380 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵sahlberg1-4/+4
documentation in README.developer git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15270 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-02Last set of trivial fixes for "no previous declaration" warnings.jmayer1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15191 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-24Constify to remove a bunch of warnings. Add some casts to squelchguy1-17/+16
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15043 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-24some more ep_tvb_get_string updatessahlberg1-8/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15034 f5534014-38df-0310-8fa8-9805f1628bb7
2005-01-01"inet_pton()" isn't getting declared on Windows; include "inet_v6defs.h"guy1-0/+4
if NEED_INET_V6DEFS_H is defined, as is done in "packet-sdp.c", the other module using "inet_pton()". git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12920 f5534014-38df-0310-8fa8-9805f1628bb7
2004-12-31Don't cast away the constness of argument pointers.guy1-8/+27
Don't supply our own definition of AF_INET or our own declaration of "inet_pton()" - use the system ones if they're available. "mkipv4_address()" doesn't modify the string passed to it - make it a const pointer. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12894 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-27Move the DES, MD4, MD5, and RC4 source files and headers into epan, andguy1-1/+1
make the source files all include the corresponding header files (so that the declarations in the headers have to match the definitions in the source files in order for compilation to succeed). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12116 f5534014-38df-0310-8fa8-9805f1628bb7
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.guy1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12115 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+1137
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7