summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMichael Brown2006-04-05 13:44:05 +0200
committerMichael Brown2006-04-05 13:44:05 +0200
commit9ea782d33999512dcf8a212c77a6e3081cd33c30 (patch)
treea226394734e0e146631c04072ae24f58551dc707 /src/util
parentAdded tcp_buffer, to give applications a zero-cost place to build data to (diff)
downloadipxe-9ea782d33999512dcf8a212c77a6e3081cd33c30.tar.gz
ipxe-9ea782d33999512dcf8a212c77a6e3081cd33c30.tar.xz
ipxe-9ea782d33999512dcf8a212c77a6e3081cd33c30.zip
Make pcap_inject non-static, so that its prototype doesn't conflict with
the real pcap_inject in the case where we do have it.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/hijack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/hijack.c b/src/util/hijack.c
index f504e4fe..ed89592b 100644
--- a/src/util/hijack.c
+++ b/src/util/hijack.c
@@ -59,7 +59,7 @@ static void flag_signalled ( int signal __attribute__ (( unused )) ) {
* have it. Will almost certainly only work under Linux.
*
*/
-static int pcap_inject ( pcap_t *pcap, const void *data, size_t len ) {
+int pcap_inject ( pcap_t *pcap, const void *data, size_t len ) {
int fd;
char *errbuf = pcap_geterr ( pcap );