mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-06 15:17:01 +02:00
MINOR: filters: Filters must define the callbacks struct during config parsing
This commit is contained in:
parent
cc7317d11e
commit
00e818aa58
@ -229,6 +229,11 @@ parse_filter(char **args, int section_type, struct proxy *curpx,
|
||||
args[0], args[1], args[cur_arg]);
|
||||
goto error;
|
||||
}
|
||||
if (fconf->ops == NULL) {
|
||||
memprintf(err, "'%s %s' : no callbacks defined.",
|
||||
args[0], args[1]);
|
||||
goto error;
|
||||
}
|
||||
|
||||
LIST_ADDQ(&curpx->filter_configs, &fconf->list);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user