summaryrefslogtreecommitdiffstats
path: root/print-syslog.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-syslog.c')
-rw-r--r--print-syslog.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/print-syslog.c b/print-syslog.c
index b0e1c91..b4a801d 100644
--- a/print-syslog.c
+++ b/print-syslog.c
@@ -17,9 +17,7 @@
/* \summary: Syslog protocol printer */
/* specification: RFC 3164 (not RFC 5424) */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
@@ -109,8 +107,7 @@ syslog_print(netdissect_options *ndo,
facility = (pri & SYSLOG_FACILITY_MASK) >> 3;
severity = pri & SYSLOG_SEVERITY_MASK;
- if (ndo->ndo_vflag < 1 )
- {
+ if (ndo->ndo_vflag < 1 ) {
ND_PRINT("SYSLOG %s.%s, length: %u",
tok2str(syslog_facility_values, "unknown (%u)", facility),
tok2str(syslog_severity_values, "unknown (%u)", severity),