File libpcap-add_DLT_INFINIBAND_to_dlt_choices.patch of Package libpcap.2975

From 381a5ccec4b228d91adc3b5a2a1898b98143ce3f Mon Sep 17 00:00:00 2001
From: Guy Harris <guy@alum.mit.edu>
Date: Tue, 22 Apr 2014 13:16:50 -0700
Subject: [PATCH] Add LINKTYPE_EPON/DLT_EPON.

Also add some missing elements to the dlt_choices[] table, and move the
entry for DLT_DBUS where it belongs (in order by type).
---
 pcap-common.c |  9 ++++++++-
 pcap.c        | 18 +++++++++++++++++-
 pcap/bpf.h    |  9 ++++++++-
 3 files changed, 33 insertions(+), 3 deletions(-)

Index: libpcap-1.5.3/pcap.c
===================================================================
--- libpcap-1.5.3.orig/pcap.c	2016-05-06 14:44:00.719936714 +0200
+++ libpcap-1.5.3/pcap.c	2016-05-06 14:44:54.108784043 +0200
@@ -1203,6 +1204,7 @@ static struct dlt_choice dlt_choices[] =
 	DLT_CHOICE(DLT_NETANALYZER_TRANSPARENT, "Ethernet with Hilscher netANALYZER pseudo-header and with preamble and SFD"),
 	DLT_CHOICE(DLT_IPOIB, "RFC 4391 IP-over-Infiniband"),
 	DLT_CHOICE(DLT_DBUS, "D-Bus"),
+	DLT_CHOICE(DLT_INFINIBAND, "InfiniBand"),
 	DLT_CHOICE(DLT_NETLINK, "Linux netlink"),
 	DLT_CHOICE_SENTINEL
 };