1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/net/ipsorc/files/patch-sorcery.c
Ying-Chieh Liao 314d439acc upgrade to 1.7.5
PR:		45197
Submitted by:	maintainer
2002-11-11 17:54:14 +00:00

12 lines
349 B
C

--- sorcery.c.orig Sun Nov 10 21:13:36 2002
+++ sorcery.c Sun Nov 10 21:14:18 2002
@@ -152,7 +152,7 @@
if(exi.READ_IT) {
/* open second socket for snooping them packets */
- if((snoop = socket(PF_PACKET, SOCK_PACKET, ETH_P_ALL)) == -1)
+ if((snoop = socket(PF_INET, SOCK_RAW, 0)) == -1)
{
perror("snoop socket");
exit(snoop);