Transport() will return tunnel (pseudo) Transport

This commit is contained in:
Milos Gajdos 2019-08-05 21:09:46 +01:00
parent 6649012af3
commit 52d8d26018
No known key found for this signature in database
GPG Key ID: 8B31058CC55DFD4F

View File

@ -38,7 +38,7 @@ func (t *tun) Address() string {
} }
func (t *tun) Transport() transport.Transport { func (t *tun) Transport() transport.Transport {
return t.options.Transport return nil
} }
func (t *tun) Options() transport.Options { func (t *tun) Options() transport.Options {