Pin the port tie-break on a port where it discriminates, and protocol selection by name

This commit is contained in:
2026-09-20 00:16:56 +02:00
parent d1fbc96a34
commit ec6f0e2edb
2 changed files with 54 additions and 52 deletions
+1 -1
View File
@@ -115,7 +115,7 @@ func TestShippedMiscReferenceData(t *testing.T) {
"httpmethod.safe": regexp.MustCompile(`^(yes|no)$`),
"httpmethod.idempotent": regexp.MustCompile(`^(yes|no)$`),
"port": regexp.MustCompile(`^[1-9]\d{0,4}$`),
"port.name": regexp.MustCompile(`^\S+$`),
"port.service": regexp.MustCompile(`^\S+$`),
"protocol": regexp.MustCompile(`^\S+( \S+)*$`),
"protocol.name": regexp.MustCompile(`\S`),
"protocol.number": regexp.MustCompile(`^\d{1,3}$`),