aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@localhost.localdomain>2009-03-25 07:21:29 -0700
committerGuy Harris <gharris@localhost.localdomain>2009-03-25 07:21:29 -0700
commit18d5f5efc112e1a8ae3df7592e49feda2b3eab93 (patch)
tree08ab81a951ed4ef2e866782b52543f71d0447711 /pcap-linux.c
parent7326e1ad48ee6fbaab8f56ea63190052a5102949 (diff)
Don't return PCAP_WARNING if mmapped capturing isn't supported.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index ce914aa..1a23889 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -565,6 +565,7 @@ pcap_activate_linux(pcap_t *handle)
* Kernel doesn't support it - just continue
* with non-memory-mapped access.
*/
+ status = 0;
break;
case -1: