Merge pull request #1882 from m4drat/statsd-banner-fix

Use sync_id instead of use_banner while building statsd metric messages
This commit is contained in:
van Hauser 2023-10-03 14:02:34 +02:00 committed by GitHub
commit 17bfb3a408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -223,7 +223,7 @@ int statsd_format_metric(afl_state_t *afl, char *buff, size_t bufflen) {
char tags[MAX_TAG_LEN * 2] = {0};
if (afl->statsd_tags_format) {
snprintf(tags, MAX_TAG_LEN * 2, afl->statsd_tags_format, afl->use_banner,
snprintf(tags, MAX_TAG_LEN * 2, afl->statsd_tags_format, afl->sync_id,
VERSION);
}