Ticket #11104: p0fq.c.patch
File p0fq.c.patch, 430 bytes (added by macports@…, 18 years ago) |
---|
-
test/p0fq.c
diff -Naur p0f/test/p0fq.c p0f-ports/test/p0fq.c
old new 52 52 d = inet_addr(argv[4]); 53 53 dp = atoi(argv[5]); 54 54 55 if (! sp || !dp || s == INADDR_NONE || d == INADDR_NONE)55 if (!dp || s == INADDR_NONE || d == INADDR_NONE) 56 56 fatal("Bad IP/port values.\n"); 57 57 58 58 sock = socket(PF_UNIX,SOCK_STREAM,0);