diff --git a/profile/endpoints/endpoint-asn.go b/profile/endpoints/endpoint-asn.go index fd5b11dc..898d9bfc 100644 --- a/profile/endpoints/endpoint-asn.go +++ b/profile/endpoints/endpoint-asn.go @@ -9,7 +9,7 @@ import ( "github.com/safing/portmaster/intel" ) -var asnRegex = regexp.MustCompile("^(AS)?[0-9]+$") +var asnRegex = regexp.MustCompile("^AS[0-9]+$") // EndpointASN matches ASNs. type EndpointASN struct {