]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
use the right IP from the passed structure in takeip/releaseip calls
authorAndrew Tridgell <tridge@samba.org>
Mon, 4 Jun 2007 13:52:12 +0000 (23:52 +1000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 4 Jun 2007 13:52:12 +0000 (23:52 +1000)
(This used to be ctdb commit 92ab9cbf6ef00de2987c16b145e17ac09dd99ea3)

ctdb/takeover/system.c

index a628f5b29563d39475f6f746df5014e2d0c7077d..60f551b7b5610941ee67cd9df343e829f3284577 100644 (file)
@@ -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;
        }