]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: spoe: Fix parsing of dontlog-normal option
authorChristopher Faulet <cfaulet@haproxy.com>
Thu, 26 Apr 2018 09:36:34 +0000 (11:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 26 Apr 2018 09:50:30 +0000 (11:50 +0200)
A missing goto led to a parsing error when line "option dontlog-normal" was
parsed.

src/flt_spoe.c

index 40cdd6916d1e51445504b77449ba395a68a7e54a..6ac48fc7d23e575b02b98ccd3be1cad84785d3f9 100644 (file)
@@ -3509,6 +3509,7 @@ cfg_parse_spoe_agent(const char *file, int linenum, char **args, int kwm)
                                curpxopts2 &= ~PR_O2_NOLOGNORM;
                        else
                                curpxopts2 |= PR_O2_NOLOGNORM;
+                       goto out;
                }
 
                /* Following options does not support negation */