mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
fixed sense of inet_aton test
(This used to be ctdb commit ed5cf9b43c49312d3736e85077863d23990acce8)
This commit is contained in:
parent
056d3c35a4
commit
f1db15ffe1
@ -785,7 +785,7 @@ void ctdb_release_all_ips(struct ctdb_context *ctdb)
|
|||||||
ctdb->takeover.interface,
|
ctdb->takeover.interface,
|
||||||
node->public_address,
|
node->public_address,
|
||||||
node->public_netmask_bits);
|
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);
|
release_kill_clients(ctdb, in);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user