From: W.C.A. Wijngaards Date: Tue, 2 Sep 2025 15:12:14 +0000 (+0200) Subject: - Fix indentation in tcp-mss option parsing. X-Git-Tag: release-1.24.0rc1~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=85e916e7e03920724f158cf47e5eb83324518623;p=thirdparty%2Funbound.git - Fix indentation in tcp-mss option parsing. --- diff --git a/doc/Changelog b/doc/Changelog index 77c4b554f..d63f490f5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/util/configparser.y b/util/configparser.y index ba754b3e5..82e1d8782 100644 --- a/util/configparser.y +++ b/util/configparser.y @@ -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); }