From 08331294bcabf90ce3d22dca729f206912d2a752 Mon Sep 17 00:00:00 2001 From: Yuan Sun Date: Mon, 30 Mar 2015 08:31:28 +0800 Subject: [PATCH] Fix a typo in daemon/networkdriver/ipallocator/allocator.go Signed-off-by: Yuan Sun --- daemon/networkdriver/ipallocator/allocator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/networkdriver/ipallocator/allocator.go b/daemon/networkdriver/ipallocator/allocator.go index 62935e1759..554dbdd5b1 100644 --- a/daemon/networkdriver/ipallocator/allocator.go +++ b/daemon/networkdriver/ipallocator/allocator.go @@ -128,7 +128,7 @@ func (allocated *allocatedMap) checkIP(ip net.IP) (net.IP, error) { } // return an available ip if one is currently available. If not, -// return the next available ip for the nextwork +// return the next available ip for the network func (allocated *allocatedMap) getNextIP() (net.IP, error) { pos := big.NewInt(0).Set(allocated.last) allRange := big.NewInt(0).Sub(allocated.end, allocated.begin)