summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 148fe4f)
raw | patch | inline | side by side (parent: 148fe4f)
author | Sebastian Harl <sh@tokkee.org> | |
Thu, 2 Oct 2008 12:54:06 +0000 (14:54 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Fri, 3 Oct 2008 20:11:15 +0000 (22:11 +0200) |
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/ipvs.c | patch | blob | history |
diff --git a/src/ipvs.c b/src/ipvs.c
index 31e9741562ac46427a8ccc171f302b8d27934b92..2de28dd83918c782f31aada5e0d20859987b0729 100644 (file)
--- a/src/ipvs.c
+++ b/src/ipvs.c
char ti[DATA_MAX_NAME_LEN];
- if (0 != get_ti (de, ti, DATA_MAX_NAME_LEN))
+ if (0 != get_ti (de, ti, sizeof (ti)))
return;
cipvs_submit_connections (pi, ti, stats.conns);
int i = 0;
- if (0 != get_pi (se, pi, DATA_MAX_NAME_LEN))
+ if (0 != get_pi (se, pi, sizeof (pi)))
return;
cipvs_submit_connections (pi, NULL, stats.conns);