mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-26 19:29:04 +00:00
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.
This commit is contained in:
parent
c8a7133e9f
commit
9ea782d339
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user