]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap.c
Based on work from Florent Drouin, split the 32-bit link-layer type
[libpcap] / pcap.c
diff --git a/pcap.c b/pcap.c
index 46bc34a026e360701cdd137d7643cc5a6572899d..a5879e5a1e8811d63a2ad4f4d75ff8f493de5305 100644 (file)
--- a/pcap.c
+++ b/pcap.c
@@ -33,7 +33,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap.c,v 1.110 2007-09-19 02:40:34 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap.c,v 1.111 2007-09-29 19:33:29 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -221,6 +221,12 @@ pcap_datalink(pcap_t *p)
        return (p->linktype);
 }
 
+int
+pcap_datalink_ext(pcap_t *p)
+{
+       return (p->linktype_ext);
+}
+
 int
 pcap_list_datalinks(pcap_t *p, int **dlt_buffer)
 {