mirror of https://github.com/OISF/suricata
rust/ffi: move IPPROTO_TCP to ffi
and reexport in suricata Allows to reduce dependencies to full suricata crate Ticket: 7666pull/14888/head
parent
2a90cef318
commit
71b59f6dbe
@ -1,27 +0,0 @@
|
||||
/* Copyright (C) 2020 Open Information Security Foundation
|
||||
*
|
||||
* You can copy, redistribute or modify this Program under the terms of
|
||||
* the GNU General Public License version 2 as published by the Free
|
||||
* Software Foundation.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* version 2 along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301, USA.
|
||||
*/
|
||||
|
||||
//! Plugin utility module.
|
||||
|
||||
use suricata_sys::sys::SCLogGetLogLevel;
|
||||
|
||||
pub fn init() {
|
||||
unsafe {
|
||||
// maybe we can get rid of this...
|
||||
crate::debug::LEVEL = SCLogGetLogLevel();
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue