summaryrefslogtreecommitdiff
path: root/print-syslog.c
Commit message (Collapse)AuthorAgeFilesLines
* u_intN_t is dead, long live uintN_t.Guy Harris2014-04-231-3/+3
| | | | | | | | | And, as we require at least autoconf 2.61, and as autoconf 2.61 and later have AC_TYPE_UINTn_T and AC_TYPE_INTn_T macros, we use them to define the uintN_t and intN_t macros if the system doesn't define them for us. This lets us get rid of bitypes.h as well.
* NDOize EAP, IEEE CFM, lwres, SIP & Syslog decodersDenis Ovsienko2014-04-011-19/+18
|
* NDOize safeputs() and safeputchar()Denis Ovsienko2014-04-011-1/+1
|
* remove tcpdump's own CVS keywordsDenis Ovsienko2014-01-031-5/+0
| | | | | | Remove lots of $Header's and a few $Id's that all belong to the former CVS repository of tcpdump itself. These keywords have been frozen since the migration to git in late 2008.
* ndo-ize print-ascii: hex_print_with_offset()Michael Richardson2014-01-011-1/+1
|
* make consistent use of the "tstr" idiomDenis Ovsienko2013-12-261-3/+5
| | | | | | | | For each decoder that has more than one instance of truncation signaling and prints the same string in each instance make sure that the string is declared as "static const char tstr[]" right after the initial includes block. Where necessary, replace fputs(s, stdout) with equivalent printf("%s", s).
* syslog: refine the decoderDenis Ovsienko2013-09-121-29/+15
| | | | | | Switch to TCHECK2() and improve format checks further. Remove some excess code, an unused #include, some trailing whitespace and a few empty lines.
* fix parsing of syslog priority (GH #264)Bram2013-09-121-1/+1
| | | | | | | | | | | | | | | | | ...the code * first looks for '<' and advances to the next character, * it looks for a number between 0 and 9 and advances to the next character, (it finds 7) * it looks for '>' and advances to the next character, * it looks for a number between 0 and 9 and advances to the next character, (it finds the '2' of '2010') => result: prio is 72 instead of 7. The code that checks if the character is '>' should be outside the loop that checks if the character is a number. The attached patch moves this check.
* unset executable bit on a few .h and .c filesDenis Ovsienko2013-04-201-0/+0
|
* add support for sysloghannes2004-10-291-0/+163