mirror of
https://github.com/safing/portmaster
synced 2025-09-02 18:49:14 +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"
|
"github.com/safing/portmaster/intel"
|
||||||
)
|
)
|
||||||
|
|
||||||
var asnRegex = regexp.MustCompile("^(AS)?[0-9]+$")
|
var asnRegex = regexp.MustCompile("^AS[0-9]+$")
|
||||||
|
|
||||||
// EndpointASN matches ASNs.
|
// EndpointASN matches ASNs.
|
||||||
type EndpointASN struct {
|
type EndpointASN struct {
|
||||||
|
|
Loading…
Add table
Reference in a new issue