]> git.ipfire.org Git - thirdparty/suricata.git/commit
scripts: fix app-layer-protos.c setup 8308/head
authorShivani Bhardwaj <shivani@oisf.net>
Tue, 20 Dec 2022 14:10:27 +0000 (19:40 +0530)
committerVictor Julien <vjulien@oisf.net>
Tue, 20 Dec 2022 15:17:11 +0000 (16:17 +0100)
commit21edf136a53c848068ffef42c71f7802aec65924
tree63940cdc08733a874450b70d6d2c9d2795e7febc
parent23eeba3e354f74f397f27d751952d155cf8ba74f
scripts: fix app-layer-protos.c setup

After the changes in the script in 05e16820de, the file
app-layer-protos.c was to be modified properly iff it was left unformatted.
However, the file was also formatted as a part of the same commit making
the lines split which broke the output of the script. Fix that by
looking for another pattern and changing the lines following that.
scripts/setup-app-layer.py