mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 01:53:13 -04:00
11 lines
318 B
C
11 lines
318 B
C
--- gen_eth.c.orig Wed Oct 18 22:39:46 2006
|
|
+++ gen_eth.c Wed Oct 18 22:39:55 2006
|
|
@@ -46,7 +46,7 @@
|
|
goto pcap_error;
|
|
|
|
/* Accept only incoming packets */
|
|
- pcap_setdirection(p,PCAP_D_IN);
|
|
+ pcap_setdirection(p,D_IN);
|
|
#else
|
|
p = pcap_open(device,2048,
|
|
PCAP_OPENFLAG_PROMISCUOUS |
|