1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] libpcap: add -fpic, refresh patches

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26999 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2011-05-24 10:36:25 +00:00
parent b6fd9c3452
commit 2f232288ee
4 changed files with 9 additions and 8 deletions

View File

@@ -105,11 +105,10 @@
return (p);
}
@@ -317,6 +319,15 @@ pcap_set_buffer_size(pcap_t *p, int buff
return 0;
@@ -318,6 +320,15 @@ pcap_set_buffer_size(pcap_t *p, int buff
}
+int
int
+pcap_set_protocol(pcap_t *p, unsigned short proto)
+{
+ if (pcap_check_activated(p))
@@ -118,9 +117,10 @@
+ return 0;
+}
+
int
+int
pcap_activate(pcap_t *p)
{
int status;
--- a/pcap/pcap.h
+++ b/pcap/pcap.h
@@ -68,6 +68,7 @@ extern "C" {