mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-18 16:26:38 +00:00
19 lines
333 B
Go
19 lines
333 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)
|
|
|
|
ExitNodeCIDR = "0.0.0.0/0"
|
|
)
|