projects
/
people
/
alex
/
keepalived.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b7e4b1
)
check: include missing virtual server group name in a log message
author
Vincent Bernat
<bernat@luffy.cx>
Wed, 25 Aug 2010 13:16:15 +0000
(13:16 +0000)
committer
Alexandre Cassen
<acassen@lnxos-dev.(none)>
Wed, 8 Dec 2010 10:56:50 +0000
(11:56 +0100)
keepalived/check/ipwrapper.c
patch
|
blob
|
history
diff --git
a/keepalived/check/ipwrapper.c
b/keepalived/check/ipwrapper.c
index
222d7a1
..
0a58443
100644
(file)
--- a/
keepalived/check/ipwrapper.c
+++ b/
keepalived/check/ipwrapper.c
@@
-659,7
+659,7
@@
clear_diff_rs(virtual_server * old_vs)
log_message(LOG_INFO, "Removing service [%s:%d] from VS [%s:%d]"
, inet_ntoa2(SVR_IP(rs), rsip)
, ntohs(SVR_PORT(rs))
- , inet_ntoa2(SVR_IP(old_vs), vsip)
+ , (old_vs->vsgname) ? old_vs->vsgname : inet_ntoa2(SVR_IP(old_vs), vsip)
, ntohs(SVR_PORT(old_vs)));
rs->inhibit = 0;
if (!ipvs_cmd(LVS_CMD_DEL_DEST, check_data->vs_group, old_vs, rs))