]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname.
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Sat, 3 Oct 2009 13:46:08 +0000 (15:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 3 Oct 2009 16:37:06 +0000 (18:37 +0200)
src/cfgparse.c
src/dumpstats.c

index 3e74634531644b03e6516c8cc9136afa5adda4bf..70662b9f66271a1d92f6268fbd4d1ee48195ce9a 100644 (file)
@@ -1889,7 +1889,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
 
                                for (i=0; args[2][i]; i++) {
                                        c = args[2][i];
-                                       if (!isupper(c) && !islower(c) && !isdigit(c) && c != '_' && c != '-')
+                                       if (!isupper(c) && !islower(c) && !isdigit(c) && c != '_' && c != '-' && c != '.')
                                                break;
                                }
 
index 7199fe07e5cc6b043afd1829d36cd412baf69afb..f9d8785b4df05b5d6d3382b2c0e3e6ea1bc77768 100644 (file)
@@ -777,7 +777,7 @@ int stats_dump_http(struct session *s, struct buffer *rep, struct uri_auth *uri)
                             "table.tbl { border-collapse: collapse; border-style: none;}\n"
                             "table.tbl td { border-width: 1px 1px 1px 1px; border-style: solid solid solid solid; padding: 2px 3px; border-color: gray;}\n"
                             "table.tbl th { border-width: 1px; border-style: solid solid solid solid; border-color: gray;}\n"
-                            "table.tbl th.pxname {background: #b00040; color: #ffff40; font-weight: bold; border-style: solid solid none solid; padding: 2px 3px;}\n"
+                            "table.tbl th.pxname {background: #b00040; color: #ffff40; font-weight: bold; border-style: solid solid none solid; padding: 2px 3px; white-space: nowrap;}\n"
                             "table.tbl th.empty { border-style: none; empty-cells: hide; background: white;}\n"
                             "table.tbl th.desc { background: white; border-style: solid solid none solid; text-align: left; padding: 2px 3px;}\n"
                             "table.lgd { border-collapse: collapse; border-width: 1px; border-style: none none none solid; border-color: black;}\n"