diff --git a/tun_linux.go b/tun_linux.go index c0f0b30..a0e0a53 100644 --- a/tun_linux.go +++ b/tun_linux.go @@ -74,6 +74,7 @@ func (t *NativeTun) configure(tunLink netlink.Link) error { } if t.autoRoute { + _ = t.unsetRoute0(tunLink) err = t.setRoute(tunLink) if err != nil { _ = t.unsetRoute0(tunLink)