1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

fixed sense of inet_aton test

(This used to be ctdb commit ed5cf9b43c49312d3736e85077863d23990acce8)
This commit is contained in:
Andrew Tridgell 2007-07-08 21:09:09 +10:00
parent 056d3c35a4
commit f1db15ffe1

View File

@ -785,7 +785,7 @@ void ctdb_release_all_ips(struct ctdb_context *ctdb)
ctdb->takeover.interface,
node->public_address,
node->public_netmask_bits);
if (inet_aton(node->public_address, &in) == 0) {
if (inet_aton(node->public_address, &in) != 0) {
release_kill_clients(ctdb, in);
}
}