summaryrefslogtreecommitdiff
path: root/recipes/tcpdump/tcpdump-4.1.1/0001-minimal-IEEE802.15.4-allowed.patch
blob: 9d3d60d4d740ada068e26a4fbbec1f524e38fbb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Sergey Lapin <slapin@slind.org>
Date: Wed, 28 Jan 2009 16:34:15 +0300
Subject: [PATCH] minimal IEEE802.15.4 allowed

---
 tcpdump.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/tcpdump.c b/tcpdump.c
index 06683af..fbc944c 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -282,6 +282,9 @@ static struct printer printers[] = {
 #ifdef DLT_MFR
 	{ mfr_if_print,		DLT_MFR },
 #endif
+#ifdef DLT_IEEE802_15_4
+	{ raw_if_print, DLT_IEEE802_15_4 },
+#endif
 #if defined(DLT_BLUETOOTH_HCI_H4_WITH_PHDR) && defined(HAVE_PCAP_BLUETOOTH_H)
 	{ bt_if_print,		DLT_BLUETOOTH_HCI_H4_WITH_PHDR},
 #endif