"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/stats.c" between
haproxy-2.0.13.tar.gz and haproxy-2.0.14.tar.gz

About: HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. LTS (Long-Term Support) release.

stats.c  (haproxy-2.0.13):stats.c  (haproxy-2.0.14)
skipping to change at line 914 skipping to change at line 914
* drain with the same color. * drain with the same color.
*/ */
if (strcmp(field_str(stats, ST_F_STATUS), "DOWN") == 0 || if (strcmp(field_str(stats, ST_F_STATUS), "DOWN") == 0 ||
strcmp(field_str(stats, ST_F_STATUS), "DOWN (agent)") == 0) { strcmp(field_str(stats, ST_F_STATUS), "DOWN (agent)") == 0) {
style = "down"; style = "down";
} }
else if (strcmp(field_str(stats, ST_F_STATUS), "DOWN ") == 0) { else if (strcmp(field_str(stats, ST_F_STATUS), "DOWN ") == 0) {
style = "going_up"; style = "going_up";
} }
else if (strcmp(field_str(stats, ST_F_STATUS), "DRAIN") == 0) {
style = "draining";
}
else if (strcmp(field_str(stats, ST_F_STATUS), "NOLB ") == 0) { else if (strcmp(field_str(stats, ST_F_STATUS), "NOLB ") == 0) {
style = "going_down"; style = "going_down";
} }
else if (strcmp(field_str(stats, ST_F_STATUS), "NOLB") == 0) { else if (strcmp(field_str(stats, ST_F_STATUS), "NOLB") == 0) {
style = "nolb"; style = "nolb";
} }
else if (strcmp(field_str(stats, ST_F_STATUS), "no check") == 0) { else if (strcmp(field_str(stats, ST_F_STATUS), "no check") == 0) {
style = "no_check"; style = "no_check";
} }
else if (!stats[ST_F_CHKFAIL].type || else if (!stats[ST_F_CHKFAIL].type ||
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)