mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-12 01:40:40 +01:00
17 lines
304 B
Go
17 lines
304 B
Go
|
package vars
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"net/netip"
|
||
|
)
|
||
|
|
||
|
const MinRangeBits = 7
|
||
|
|
||
|
var (
|
||
|
ErrRouteNotFound = errors.New("route not found")
|
||
|
ErrRouteNotAllowed = errors.New("route not allowed")
|
||
|
|
||
|
Defaultv4 = netip.PrefixFrom(netip.IPv4Unspecified(), 0)
|
||
|
Defaultv6 = netip.PrefixFrom(netip.IPv6Unspecified(), 0)
|
||
|
)
|