Skip to content

Commit

Permalink
Update network.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziomal12 committed Apr 10, 2024
1 parent 419ee63 commit e90c1c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions management/server/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ func AllocatePeerIP(ipNet net.IPNet, takenIps []net.IP) (net.IP, error) {
if len(ips) == 0 {
return nil, fmt.Errorf("failed allocating new IP for the ipNet %s - network is out of IPs", ipNet.String())
}
}

// Pick an IP based on the allocation method
var selectedIP net.IP
Expand Down

0 comments on commit e90c1c3

Please sign in to comment.