Rev 543: on startup release all IPs, in case we have any left over from a previous run in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Tue Jun 12 09:44:54 GMT 2007


------------------------------------------------------------
revno: 543
revision-id: tridge at samba.org-20070612094454-jtmr17z42ko4x7bn
parent: tridge at samba.org-20070612045030-5dfn2g0w78u4djg4
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Tue 2007-06-12 19:44:54 +1000
message:
  on startup release all IPs, in case we have any left over from a previous run
modified:
  server/ctdb_daemon.c           ctdb_daemon.c-20070409200331-3el1kqgdb9m4ib0g-1
=== modified file 'server/ctdb_daemon.c'
--- a/server/ctdb_daemon.c	2007-06-09 22:46:33 +0000
+++ b/server/ctdb_daemon.c	2007-06-12 09:44:54 +0000
@@ -122,6 +122,9 @@
 				 CTDB_CTRL_FLAG_NOREPLY,
 				 tdb_null, NULL, NULL);
 
+	/* release any IPs we hold from previous runs of the daemon */
+	ctdb_release_all_ips(ctdb);
+
 	ret = ctdb_event_script_callback(ctdb, timeval_zero(), ctdb, 
 					 ctdb_start_transport, NULL, "startup");
 	if (ret != 0) {



More information about the samba-cvs mailing list