detect/analyzer: Support u8 types

Issue: 6359

Support JSON output of u8 types
pull/13541/head
Jeff Lucovsky 1 year ago committed by Victor Julien
parent f4378eb306
commit 7e713cb45a

@ -73,6 +73,13 @@ where
Ok(())
}
#[no_mangle]
pub unsafe extern "C" fn SCDetectU8ToJson(
js: &mut JsonBuilder, du: &DetectUintData<u8>,
) -> bool {
return detect_uint_to_json(js, du).is_ok();
}
#[no_mangle]
pub unsafe extern "C" fn SCDetectU16ToJson(
js: &mut JsonBuilder, du: &DetectUintData<u16>,

Loading…
Cancel
Save