tun tester more useful

This commit is contained in:
JackDoan
2026-02-17 15:16:36 -06:00
parent 37abdd7f96
commit 92ee45ed13
4 changed files with 29 additions and 27 deletions

View File

@@ -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 {