Let IPAM pick any peer we know about to transfer ownership to, when shutting down

This commit is contained in:
Bryan Boreham committed 2015-11-02 18:34:58 +00:00
1 parent 2bbe6a2ad8
commit b3cda39b0b
4 files changed
+39 -4

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ func makeAllocator(name string, cidrStr string, quorum uint) (*Allocator, addres
}
alloc := NewAllocator(peername, router.PeerUID(rand.Int63()),
"nick-"+name, cidr.Range(), quorum)
"nick-"+name, cidr.Range(), quorum, nil)
return alloc, cidr.HostRange()
}