1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/ctdb/tcp
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
..
ctdb_tcp.h ctdb-daemon: Stop using tevent compatibility definitions 2015-10-30 02:00:27 +01:00
tcp_connect.c ctdb-daemon: Replace function ctdb_ip_to_nodeid() with ctdb_ip_to_pnn() 2019-07-05 05:03:23 +00:00
tcp_init.c ctdb-tcp: Fix signed/unsigned comparisons by declaring as unsigned 2019-07-05 05:03:23 +00:00
tcp_io.c ctdb: Remove double sanity checks from ctdb_tcp_read_cb 2018-04-04 09:31:04 +02:00