X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/585ac3db0663f474fd3417ea91953b58022cc9d9..c91ffeae22ab1c7d6714f0935a51030d088a5f5c:/print-tipc.c diff --git a/print-tipc.c b/print-tipc.c index 69be4caa..809c50db 100644 --- a/print-tipc.c +++ b/print-tipc.c @@ -19,17 +19,14 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ +#define NETDISSECT_REWORKED #ifdef HAVE_CONFIG_H #include "config.h" #endif #include -#include -#include - -#include "netdissect.h" -#include "addrtoname.h" +#include "interface.h" #include "ether.h" #include "ethertype.h" #include "extract.h" /* must come after interface.h */ @@ -312,7 +309,6 @@ print_link_conf(netdissect_options *ndo, const struct link_conf_tipc_pkthdr *ap) msize = TIPC_MSIZE(w0); w1 = EXTRACT_32BITS(&ap->w1); mtype = TIPC_MTYPE(w1); - prev_node = EXTRACT_32BITS(&ap->prev_node); dest_domain = EXTRACT_32BITS(&ap->dest_domain); prev_node = EXTRACT_32BITS(&ap->prev_node);