summaryrefslogtreecommitdiff
path: root/print-dtp.c
diff options
context:
space:
mode:
authorDenis Ovsienko <infrastation@yandex.ru>2014-03-15 14:19:49 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2014-03-15 14:19:49 +0400
commit1fe6e66ecec3fb7a7cc729038012cbb264542331 (patch)
tree994f5218d7609bedbd50f207d1b15e43f661be50 /print-dtp.c
parent85a2dd977cad3e21b475abbedeb795989207b8db (diff)
downloadtcpdump-1fe6e66ecec3fb7a7cc729038012cbb264542331.tar.gz
make use of NETDISSECT_REWORKED
Update the already converted decoders to define the macro and to include interface.h instead of netdissect.h. Fix incurred compile errors.
Diffstat (limited to 'print-dtp.c')
-rw-r--r--print-dtp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/print-dtp.c b/print-dtp.c
index e502ad54..88f98a78 100644
--- a/print-dtp.c
+++ b/print-dtp.c
@@ -17,13 +17,14 @@
* Original code by Carles Kishimoto <carles.kishimoto@gmail.com>
*/
+#define NETDISSECT_REWORKED
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tcpdump-stdinc.h>
-#include "netdissect.h"
+#include "interface.h"
#include "addrtoname.h"
#include "extract.h"