From: Andrew Tridgell Date: Mon, 4 Jun 2007 13:52:12 +0000 (+1000) Subject: use the right IP from the passed structure in takeip/releaseip calls X-Git-Tag: tevent-0.9.20~348^2~2569 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49a0b4ebdce115ea7e47cd4badb41066c9cb1aa9;p=thirdparty%2Fsamba.git use the right IP from the passed structure in takeip/releaseip calls (This used to be ctdb commit 92ab9cbf6ef00de2987c16b145e17ac09dd99ea3) --- diff --git a/ctdb/takeover/system.c b/ctdb/takeover/system.c index a628f5b2956..60f551b7b56 100644 --- a/ctdb/takeover/system.c +++ b/ctdb/takeover/system.c @@ -48,7 +48,7 @@ int ctdb_sys_send_arp(const struct sockaddr_in *saddr, const char *iface) /* for now, we only handle AF_INET addresses */ if (saddr->sin_family != AF_INET) { - DEBUG(0,(__location__ " not an ipv4 address\n")); + DEBUG(0,(__location__ " not an ipv4 address (family is %u)\n", saddr->sin_family)); return -1; }