mirror of
https://github.com/juanfont/headscale.git
synced 2026-04-25 01:59:07 +02:00
all: fix golangci-lint issues (#3064)
This commit is contained in:
@@ -91,6 +91,7 @@ func ParseIPSet(arg string, bits *int) (*netipx.IPSet, error) {
|
||||
|
||||
func GetIPPrefixEndpoints(na netip.Prefix) (netip.Addr, netip.Addr) {
|
||||
var network, broadcast netip.Addr
|
||||
|
||||
ipRange := netipx.RangeOfPrefix(na)
|
||||
network = ipRange.From()
|
||||
broadcast = ipRange.To()
|
||||
|
||||
Reference in New Issue
Block a user