From 03563e847e6bd96f631d428b11f5f321ff553304 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Sat, 27 Feb 2016 18:12:50 +0000 Subject: [PATCH] Remember addresses outside of the allocation range --- ipam/claim.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipam/claim.go b/ipam/claim.go index 2b33b145..8ab62e6a 100644 --- a/ipam/claim.go +++ b/ipam/claim.go @@ -34,7 +34,8 @@ func (c *claim) sendResult(result error) { func (c *claim) Try(alloc *Allocator) bool { if !alloc.ring.Contains(c.addr) { // Address not within our universe; assume user knows what they are doing - alloc.infof("Ignored address %s claimed by %s - not in our universe", c.addr, c.ident) + alloc.infof("Address %s claimed by %s - not in our range", c.addr, c.ident) + alloc.addOwned(c.ident, c.addr) c.sendResult(nil) return true }