Преглед изворни кода

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.
tags/v0.9.3
Michael Brown пре 20 година
родитељ
комит
9ea782d339
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      src/util/hijack.c

+ 1
- 1
src/util/hijack.c Прегледај датотеку

59
  * have it.  Will almost certainly only work under Linux.
59
  * have it.  Will almost certainly only work under Linux.
60
  *
60
  *
61
  */
61
  */
62
-static int pcap_inject ( pcap_t *pcap, const void *data, size_t len ) {
62
+int pcap_inject ( pcap_t *pcap, const void *data, size_t len ) {
63
 	int fd;
63
 	int fd;
64
 	char *errbuf = pcap_geterr ( pcap );
64
 	char *errbuf = pcap_geterr ( pcap );
65
 
65
 

Loading…
Откажи
Сачувај