mirror of
https://github.com/slackhq/nebula.git
synced 2026-04-03 00:15:18 +02:00
tun tester more useful
This commit is contained in:
10
test/tun.go
10
test/tun.go
@@ -10,14 +10,12 @@ import (
|
||||
|
||||
type NoopTun struct{}
|
||||
|
||||
func (NoopTun) Routes() []Route {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
func (NoopTun) UnsafeNetworks() []netip.Prefix {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (NoopTun) UnsafeNetworks() []netip.Prefix {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
func (NoopTun) SNATAddress() netip.Prefix {
|
||||
return netip.Prefix{}
|
||||
}
|
||||
|
||||
func (NoopTun) RoutesFor(addr netip.Addr) routing.Gateways {
|
||||
|
||||
Reference in New Issue
Block a user