Added center alignment to network statistic columns. Now it looks nicer and is consistent with the system processes columns.
This commit is contained in:
parent
46824932fc
commit
df278abd09
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the uIP TCP/IP stack.
|
* This file is part of the uIP TCP/IP stack.
|
||||||
*
|
*
|
||||||
* $Id: httpd-cgi.c,v 1.4 2007/04/08 19:39:05 oliverschmidt Exp $
|
* $Id: httpd-cgi.c,v 1.5 2007/04/14 13:48:33 oliverschmidt Exp $
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ make_tcp_stats(void *arg)
|
||||||
|
|
||||||
conn = &uip_conns[s->count];
|
conn = &uip_conns[s->count];
|
||||||
return sprintf((char *)uip_appdata,
|
return sprintf((char *)uip_appdata,
|
||||||
"<tr><td>%d</td><td>%u.%u.%u.%u:%u</td><td>%s</td><td>%u</td><td>%u</td><td>%c %c</td></tr>\r\n",
|
"<tr align=\"center\"><td>%d</td><td>%u.%u.%u.%u:%u</td><td>%s</td><td>%u</td><td>%u</td><td>%c %c</td></tr>\r\n",
|
||||||
htons(conn->lport),
|
htons(conn->lport),
|
||||||
conn->ripaddr.u8[0],
|
conn->ripaddr.u8[0],
|
||||||
conn->ripaddr.u8[1],
|
conn->ripaddr.u8[1],
|
||||||
|
|
Loading…
Reference in a new issue