Author :
claudio
Date :
2023-11-17 12:10:23
Hash :e75e148f Message :Do not log errors form pcap_dispatch() caused by signals.
pcap_dispatch() returns -1 (PCAP_ERROR) or -2 (PCAP_ERROR_BREAK) the
latter is used when a signal is received and is not an error. So limit
the code to log errors to np == -1.
OK semarie@ sashan@