mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-03 02:21:58 +00:00
net/tstun: rename NewFakeTUN to NewFake.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
@@ -132,7 +132,7 @@ func newChannelTUN(logf logger.Logf, secure bool) (*tuntest.ChannelTUN, *TUN) {
|
||||
}
|
||||
|
||||
func newFakeTUN(logf logger.Logf, secure bool) (*fakeTUN, *TUN) {
|
||||
ftun := NewFakeTUN()
|
||||
ftun := NewFake()
|
||||
tun := WrapTUN(logf, ftun)
|
||||
if secure {
|
||||
setfilter(logf, tun)
|
||||
|
||||
Reference in New Issue
Block a user