]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2033 in SNORT/snort3 from ~KDEWANGA/snort3:iab to master
authorGeorge Koikara (gkoikara) <gkoikara@cisco.com>
Thu, 27 Feb 2020 16:40:52 +0000 (16:40 +0000)
committerGeorge Koikara (gkoikara) <gkoikara@cisco.com>
Thu, 27 Feb 2020 16:40:52 +0000 (16:40 +0000)
Squashed commit of the following:

commit 66cade7b40d9f07deeba5ff0735b82f8a58f9806
Author: Keshaw Dewangan <kdewanga@cisco.com>
Date:   Tue Feb 11 05:55:01 2020 -0500

    daq:Made get_stats public for plugins

src/packet_io/sfdaq.h

index a1aeaa2022d5d1cfd4092ea6ecbc1c44cf55e729..20f86e472bba87b6f733a84bd178baa3744538a5 100644 (file)
@@ -49,7 +49,7 @@ public:
 
     static const char* get_input_spec(const SFDAQConfig*, unsigned instance_id);
     static const char* default_type();
-    static const DAQ_Stats_t* get_stats();
+    SO_PUBLIC static const DAQ_Stats_t* get_stats();
 
     static bool can_inject();
     static bool can_inject_raw();