Browse Source

nfqws: debug packet length in sendto()

pull/1301/head
bol-van 3 weeks ago
parent
commit
326b42fafd
  1. 4
      nfq/darkmagic.c

4
nfq/darkmagic.c

@ -1747,7 +1747,9 @@ nofix:
bytes = sendto(sock, data, len, 0, (struct sockaddr*)&dst2, salen);
if (bytes==-1)
{
DLOG_PERROR("rawsend: sendto");
char s[40];
snprintf(s,sizeof(s),"rawsend: sendto (%zu)\n",len);
DLOG_PERROR(s);
return false;
}
return true;

Loading…
Cancel
Save