flatten tio.Capabilities

This commit is contained in:
JackDoan
2026-05-14 09:50:52 -05:00
parent 487bae4c2f
commit 1b59636028
12 changed files with 49 additions and 36 deletions

View File

@@ -15,6 +15,10 @@ import (
// exercise the datapath.
type NoopTun struct{}
func (NoopTun) Capabilities() tio.Capabilities {
return tio.Capabilities{}
}
func (NoopTun) RoutesFor(addr netip.Addr) routing.Gateways {
return routing.Gateways{}
}