Skip to content

Commit

Permalink
Merge pull request moby#11912 from sunyuan3/typo
Browse files Browse the repository at this point in the history
Fix a typo in daemon/networkdriver/ipallocator/allocator.go
  • Loading branch information
duglin committed Mar 30, 2015
2 parents 41e47bb + 0833129 commit d95fae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/networkdriver/ipallocator/allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d95fae0

Please sign in to comment.