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  
    5252  d  = inet_addr(argv[4]);
    5353  dp = atoi(argv[5]);
    5454
    55   if (!sp || !dp || s == INADDR_NONE || d == INADDR_NONE)
     55  if (!dp || s == INADDR_NONE || d == INADDR_NONE)
    5656    fatal("Bad IP/port values.\n");
    5757
    5858  sock = socket(PF_UNIX,SOCK_STREAM,0);