summaryrefslogtreecommitdiff
path: root/print-beep.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-beep.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-beep.c')
-rw-r--r--print-beep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/print-beep.c b/print-beep.c
index 1ddb9eb5..7982feb5 100644
--- a/print-beep.c
+++ b/print-beep.c
@@ -9,6 +9,7 @@
*
*/
+#define NETDISSECT_REWORKED
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -17,7 +18,7 @@
#include <string.h>
-#include "netdissect.h"
+#include "interface.h"
/* Check for a string but not go beyond length
* Return TRUE on match, FALSE otherwise