From 49a0b4ebdce115ea7e47cd4badb41066c9cb1aa9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jun 2007 23:52:12 +1000 Subject: [PATCH] use the right IP from the passed structure in takeip/releaseip calls (This used to be ctdb commit 92ab9cbf6ef00de2987c16b145e17ac09dd99ea3) --- ctdb/takeover/system.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3