Add endpoint type network scope

Also, update default service endpoint list configuration to allow localhost
This commit is contained in:
Daniel
2020-05-15 22:40:05 +02:00
parent 635d5770d1
commit 87a55541b2
4 changed files with 154 additions and 37 deletions

View File

@@ -231,6 +231,10 @@ func parseEndpoint(value string) (endpoint Endpoint, err error) {
if endpoint, err = parseTypeASN(fields); endpoint != nil || err != nil {
return
}
// scopes
if endpoint, err = parseTypeScope(fields); endpoint != nil || err != nil {
return
}
// lists
if endpoint, err = parseTypeList(fields); endpoint != nil || err != nil {
return