]> git.ipfire.org Git - thirdparty/suricata.git/commit
pcap: add capture counters in stats.log. 196/head
authorEric Leblond <eric@regit.org>
Mon, 12 Nov 2012 17:34:50 +0000 (18:34 +0100)
committerEric Leblond <eric@regit.org>
Mon, 12 Nov 2012 17:34:50 +0000 (18:34 +0100)
commit7854c849729c59513575234d665295e86c7d68d8
treed095aaa55103f09381897e66bb82e9f748374cb3
parentbcaec1e9637afa5ee7a6fc7e697731e91b72d5b5
pcap: add capture counters in stats.log.

This patch adds three counters to stats.log:
    capture.kernel_packets    | RxPcapwlan0               | 4218
    capture.kernel_drops      | RxPcapwlan0               | 0
    capture.kernel_ifdrops    | RxPcapwlan0               | 0
This patch meant to fix bug #625.
src/source-pcap.c