- Fix indentation in tcp-mss option parsing.

This commit is contained in:
W.C.A. Wijngaards 2025-09-02 17:12:14 +02:00
parent af96824642
commit 85e916e7e0
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
unbound/pythonmod/examples/log.py.
- Fix #1324: Memory leak in 'msgparse.c' in
'parse_edns_options_from_query(...)'.
- Fix indentation in tcp-mss option parsing.
1 September 2025: Wouter
- Fix for #1324: Fix to free edns options scratch in ratelimit case.

View file

@ -954,7 +954,7 @@ server_tcp_mss: VAR_TCP_MSS STRING_ARG
{
OUTYY(("P(server_tcp_mss:%s)\n", $2));
if(atoi($2) == 0 && strcmp($2, "0") != 0)
yyerror("number expected");
yyerror("number expected");
else cfg_parser->cfg->tcp_mss = atoi($2);
free($2);
}