Don't return PCAP_WARNING if mmapped capturing isn't supported.
This commit is contained in:
parent
7326e1ad48
commit
18d5f5efc1
|
@ -565,6 +565,7 @@ pcap_activate_linux(pcap_t *handle)
|
||||||
* Kernel doesn't support it - just continue
|
* Kernel doesn't support it - just continue
|
||||||
* with non-memory-mapped access.
|
* with non-memory-mapped access.
|
||||||
*/
|
*/
|
||||||
|
status = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case -1:
|
case -1:
|
||||||
|
|
Reference in New Issue