]> The Tcpdump Group git mirrors - libpcap/commitdiff
Add DLT_DBUS to the table of link-layer type names
authorMichal Labedzki <[email protected]>
Sun, 14 Apr 2013 17:34:01 +0000 (19:34 +0200)
committerGuy Harris <[email protected]>
Mon, 6 May 2013 21:30:58 +0000 (14:30 -0700)
pcap.c

diff --git a/pcap.c b/pcap.c
index b69e9ed9736cc713815dc0a7c059a564afcaa6a1..1fc00bde80208ca5b00fc9c5904335a3308e72c9 100644 (file)
--- a/pcap.c
+++ b/pcap.c
@@ -1123,6 +1123,7 @@ static struct dlt_choice dlt_choices[] = {
        DLT_CHOICE(DLT_NETANALYZER, "Ethernet with Hilscher netANALYZER pseudo-header"),
        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_NETANALYZER, "Ethernet with Hilscher netANALYZER pseudo-header"),
        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_SENTINEL
 };
 
        DLT_CHOICE_SENTINEL
 };