summaryrefslogtreecommitdiffstats
path: root/print-tipc.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:52:31 +0000
commit31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d (patch)
tree99d6c086833d530e5d1d33a8128961f8149843f0 /print-tipc.c
parentAdding upstream version 4.99.4. (diff)
downloadtcpdump-31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d.tar.xz
tcpdump-31cd589d20ba8d3d6b3fc4fccacc40d38a163c5d.zip
Adding upstream version 4.99.5.upstream/4.99.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-tipc.c')
-rw-r--r--print-tipc.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/print-tipc.c b/print-tipc.c
index 54179a4..ec5f1a5 100644
--- a/print-tipc.c
+++ b/print-tipc.c
@@ -27,14 +27,11 @@
* https://web.archive.org/web/20161025110514/http://tipc.sourceforge.net/doc/tipc_message_formats.html
*/
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
#include "netdissect-stdinc.h"
#include "netdissect.h"
-#include "ethertype.h"
#include "extract.h"
@@ -327,8 +324,7 @@ tipc_print(netdissect_options *ndo, const u_char *bp, u_int length _U_,
w0 = GET_BE_U_4(ap->w0);
user = TIPC_USER(w0);
- switch (user)
- {
+ switch (user) {
case TIPC_USER_LOW_IMPORTANCE:
case TIPC_USER_MEDIUM_IMPORTANCE:
case TIPC_USER_HIGH_IMPORTANCE: