Fix linter

This commit is contained in:
世界 2024-06-09 13:41:05 +08:00
parent 21b78edd8b
commit e5f9651d3d
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
2 changed files with 7 additions and 0 deletions

View file

@ -114,6 +114,9 @@ func (t *NativeTun) configure() error {
err = luid.AddRoute(routeRange, netip.IPv6Unspecified(), 0)
}
}
if err != nil {
return err
}
err = windnsapi.FlushResolverCache()
if err != nil {
return err