mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 12:57:38 +02:00
flatten tio.Capabilities
This commit is contained in:
@@ -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{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user