1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/ctdb/include
Martin Schwenke 010c1d77cd ctdb-daemon: Replace function ctdb_ip_to_nodeid() with ctdb_ip_to_pnn()
Node ID is a poorly defined concept, indicating the slot in the node
map where the IP address was found.  This signed value also ends up
compared to num_nodes, which is unsigned, producing unwanted warnings.

Just return the PNN because this what both callers really want.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
2019-07-05 05:03:23 +00:00
..
common ctdb-daemon: Replace ctdb_message with srvid abstraction 2015-10-07 14:53:28 +02:00
public ctdb-build: Placeholder for public headers from lib/util 2015-10-07 14:53:28 +02:00
ctdb_client.h ctdb-daemon: Make old list_of_nodes() function static 2019-07-05 05:03:22 +00:00
ctdb_private.h ctdb-daemon: Replace function ctdb_ip_to_nodeid() with ctdb_ip_to_pnn() 2019-07-05 05:03:23 +00:00
ctdb_protocol.h ctdb-daemon: Add implementation of tunnel controls 2017-10-10 11:45:18 +02:00