mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
Require AS prefix in asn rule regex
This commit is contained in:
parent
d67b1e8a64
commit
d6e4c96117
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue