X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/a97fb2f3ae9731dd13e6854742c090ca9ef454cf..a3d09832c69a1b261d0e1f1fc61d4b14ddd5f4a4:/print-tipc.c diff --git a/print-tipc.c b/print-tipc.c index 56c1b660..809c50db 100644 --- a/print-tipc.c +++ b/print-tipc.c @@ -19,22 +19,14 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-arp.c,v 1.66 2006-03-03 22:53:21 hannes Exp $ (LBL)"; -#endif - +#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 */ @@ -317,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);