]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix indentation in tcp-mss option parsing.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Sep 2025 15:12:14 +0000 (17:12 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 2 Sep 2025 15:12:14 +0000 (17:12 +0200)
doc/Changelog
util/configparser.y

index 77c4b554fa1789acb27dd429f3af355869a3221a..d63f490f5897675b734c48bec981b151c864241f 100644 (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.
index ba754b3e5099d058ab4a77d96fb69c38e420d00a..82e1d8782bb5b984747c936f94a2337b0497fc8a 100644 (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);
        }