]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CONTRIB: debug/flags: add check for SF_ERR_CHK_PORT
authorWilly Tarreau <w@1wt.eu>
Fri, 11 Nov 2016 07:05:34 +0000 (08:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 11 Nov 2016 07:05:34 +0000 (08:05 +0100)
This flag was added by commit 95db2bc ("MAJOR: check: find out which
port to use for health check at run time"), let's check for it.

contrib/debug/flags.c

index dfc813a090600f439b2c9077c56eaa3efb766f52..bc71bde9692562afebc7ad7a8e5d14db482810d2 100644 (file)
@@ -320,6 +320,7 @@ void show_strm_flags(unsigned int f)
        case SF_ERR_DOWN:     f &= ~SF_ERR_MASK ; printf("SF_ERR_DOWN%s",     f ? " | " : ""); break;
        case SF_ERR_KILLED:   f &= ~SF_ERR_MASK ; printf("SF_ERR_KILLED%s",   f ? " | " : ""); break;
        case SF_ERR_UP:       f &= ~SF_ERR_MASK ; printf("SF_ERR_UP%s",       f ? " | " : ""); break;
+       case SF_ERR_CHK_PORT: f &= ~SF_ERR_MASK ; printf("SF_ERR_CHK_PORT%s",       f ? " | " : ""); break;
        }
 
        SHOW_FLAG(f, SF_TUNNEL);