rust: format ntp files

Ticket: 3836
pull/15451/head
Philippe Antoine 3 months ago committed by Victor Julien
parent fa864f9c2f
commit 415360d9e8

@ -390,7 +390,7 @@ jobs:
working-directory: rust/derive
- run: rustfmt --check rust/src/dns/*.rs rust/src/applayertemplate/*.rs rust/src/asn1/*.rs
rust/src/bittorrent_dht/*.rs rust/src/enip/*.rs rust/src/ffi/*.rs rust/src/ftp/*.rs
rust/src/ldap/*.rs rust/src/mime/*.rs
rust/src/ldap/*.rs rust/src/mime/*.rs rust/src/ntp/*.rs
- name: Check if Cargo.lock.in is up to date
run: |
cp rust/Cargo.lock rust/Cargo.lock.in

@ -22,7 +22,7 @@ use crate::detect::uint::{
};
use crate::detect::{
helper_keyword_register_sticky_buffer, SigTableElmtStickyBuffer, SIGMATCH_INFO_ENUM_UINT,
SIGMATCH_INFO_UINT8, SIGMATCH_SUPPORT_FIREWALL
SIGMATCH_INFO_UINT8, SIGMATCH_SUPPORT_FIREWALL,
};
use std::ffi::CStr;
use std::os::raw::{c_int, c_void};
@ -30,7 +30,7 @@ use suricata_sys::sys::{
DetectEngineCtx, DetectEngineThreadCtx, Flow, SCDetectBufferSetActiveList,
SCDetectHelperBufferProgressMpmRegister, SCDetectHelperBufferProgressRegister,
SCDetectHelperKeywordRegister, SCDetectSignatureSetAppProto, SCSigMatchAppendSMToList,
SCSigTableAppLiteElmt, SigMatchCtx, Signature
SCSigTableAppLiteElmt, SigMatchCtx, Signature,
};
static mut G_NTP_VERSION_KW_ID: u16 = 0;

Loading…
Cancel
Save