Complete subnet immune autopsy UI and prefix normalization.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
Normalize /24 labels for autopsy API and cred-graph triggers; add Emberwake/Path Tracer autopsy cards and Vitest coverage for Seer feed consumers.
This commit is contained in:
@@ -42,4 +42,10 @@ func TestPrefixFromHostOrIP(t *testing.T) {
|
||||
if got := PrefixFromHostOrIP("172.16.5.9"); got != "172.16.5" {
|
||||
t.Fatalf("prefix=%q", got)
|
||||
}
|
||||
if got := PrefixFromHostOrIP("10.0.0.x"); got != "10.0.0" {
|
||||
t.Fatalf("label prefix=%q", got)
|
||||
}
|
||||
if got := PrefixFromHostOrIP("10.2.2"); got != "10.2.2" {
|
||||
t.Fatalf("bare prefix=%q", got)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user