mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
dummymbuf: Log the entire rule set if no delimiters are present
An empty string was printed instead. Reviewed by: kp Approved by: kp (mentor) Differential Revision: https://reviews.freebsd.org/D46964
This commit is contained in:
parent
3670421e21
commit
dfcb8de5ef
1 changed files with 1 additions and 0 deletions
|
|
@ -223,6 +223,7 @@ read_rule(const char **cur, struct rule *rule, bool *eof)
|
|||
while (**cur == ' ')
|
||||
(*cur)++;
|
||||
rule->syntax_begin = *cur;
|
||||
rule->syntax_len = strlen(rule->syntax_begin);
|
||||
|
||||
/* syntax_len */
|
||||
char *delim = strchr(*cur, ';');
|
||||
|
|
|
|||
Loading…
Reference in a new issue