Blame SOURCES/0001-Add-names-for-DLT_NETLINK.patch

2cd29a
From 2048727a901ef7d9d3803c9206730d11b2fd6ebf Mon Sep 17 00:00:00 2001
2cd29a
From: Jakub Zawadzki <darkjames@darkjames.pl>
2cd29a
Date: Sat, 7 Dec 2013 23:37:23 +0100
2cd29a
Subject: [PATCH] Add names for DLT_NETLINK
2cd29a
2cd29a
Before patch:
2cd29a
  tcpdump: listening on nlmon0, link-type 253, capture size 65535 bytes
2cd29a
2cd29a
After patch:
2cd29a
  tcpdump: listening on nlmon0, link-type NETLINK (Linux netlink), capture size 65535 bytes
2cd29a
---
2cd29a
 pcap.c | 1 +
2cd29a
 1 file changed, 1 insertion(+)
2cd29a
2cd29a
diff --git a/pcap.c b/pcap.c
2cd29a
index 626938c..faa9762 100644
2cd29a
--- a/pcap.c
2cd29a
+++ b/pcap.c
2cd29a
@@ -1203,6 +1203,7 @@ static struct dlt_choice dlt_choices[] = {
2cd29a
 	DLT_CHOICE(DLT_NETANALYZER_TRANSPARENT, "Ethernet with Hilscher netANALYZER pseudo-header and with preamble and SFD"),
2cd29a
 	DLT_CHOICE(DLT_IPOIB, "RFC 4391 IP-over-Infiniband"),
2cd29a
 	DLT_CHOICE(DLT_DBUS, "D-Bus"),
2cd29a
+	DLT_CHOICE(DLT_NETLINK, "Linux netlink"),
2cd29a
 	DLT_CHOICE_SENTINEL
2cd29a
 };
2cd29a
 
2cd29a
-- 
2cd29a
2.4.3
2cd29a