Browse Source

Merge pull request #688 from aboch/uk

Do not refresh the bitmasks on all operations in IPAM
Madhu Venugopal 9 years ago
parent
commit
baf622c0a5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      libnetwork/ipam/allocator.go

+ 0 - 4
libnetwork/ipam/allocator.go

@@ -84,10 +84,6 @@ func (a *Allocator) refresh(as string) error {
 		return nil
 	}
 
-	if err := a.updateBitMasks(aSpace); err != nil {
-		return fmt.Errorf("error updating bit masks during init: %v", err)
-	}
-
 	a.Lock()
 	a.addrSpaces[as] = aSpace
 	a.Unlock()