mirror of
https://github.com/OISF/suricata.git
synced 2026-06-08 16:35:23 -04:00
rust: format applayertemplate files
Ticket: 3836
This commit is contained in:
parent
d55114e6d7
commit
1ced97bdbb
2 changed files with 3 additions and 2 deletions
2
.github/workflows/builds.yml
vendored
2
.github/workflows/builds.yml
vendored
|
|
@ -388,7 +388,7 @@ jobs:
|
|||
working-directory: rust/sys
|
||||
- run: cargo fmt --check
|
||||
working-directory: rust/derive
|
||||
- run: rustfmt --check rust/src/dns/*.rs
|
||||
- run: rustfmt --check rust/src/dns/*.rs rust/src/applayertemplate/*.rs
|
||||
- name: Check if Cargo.lock.in is up to date
|
||||
run: |
|
||||
cp rust/Cargo.lock rust/Cargo.lock.in
|
||||
|
|
|
|||
|
|
@ -252,7 +252,8 @@ fn probe(input: &[u8]) -> nom::IResult<&[u8], ()> {
|
|||
nom::sequence::terminated(
|
||||
nom::bytes::complete::take_while1(|c: u8| c.is_dec_digit()),
|
||||
nom::bytes::complete::tag(":"),
|
||||
).parse(prefix)?;
|
||||
)
|
||||
.parse(prefix)?;
|
||||
Ok((rem, ()))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue