summaryrefslogtreecommitdiff
path: root/perl/perl-Net-Pcap/listdatalinks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Net-Pcap/listdatalinks.patch')
-rw-r--r--perl/perl-Net-Pcap/listdatalinks.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/perl/perl-Net-Pcap/listdatalinks.patch b/perl/perl-Net-Pcap/listdatalinks.patch
new file mode 100644
index 0000000000..a0f22c32c3
--- /dev/null
+++ b/perl/perl-Net-Pcap/listdatalinks.patch
@@ -0,0 +1,14 @@
+diff -up Net-Pcap-0.17/Pcap.pm.orig Net-Pcap-0.17/Pcap.pm
+--- Net-Pcap-0.17/Pcap.pm.orig 2013-03-15 23:19:38.000000000 -0600
++++ Net-Pcap-0.17/Pcap.pm 2013-03-15 23:21:32.000000000 -0600
+@@ -704,6 +704,10 @@ Close the savefile associated with the d
+
+ =over
+
++=item B<pcap_list_datalinks($pcap)>
++
++Returns a list of link layer types supported by the given pcap descriptor.
++
+
+ =item B<pcap_datalink($pcap)>
+