diff options
Diffstat (limited to 'tunnel')
| -rw-r--r-- | tunnel/addressconfig.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tunnel/addressconfig.go b/tunnel/addressconfig.go index 08ef459e..7c6dd3b7 100644 --- a/tunnel/addressconfig.go +++ b/tunnel/addressconfig.go @@ -99,7 +99,7 @@ startOver: } if !conf.Interface.TableOff && - ((foundRoute4 && family == windows.AF_INET) || (foundRoute6 && family == windows.AF_INET6)) { + ((foundRoute4 && family == windows.AF_INET) || (foundRoute6 && family == windows.AF_INET6)) { err = luid.SetRoutesForFamily(family, deduplicatedRoutes) if err == windows.ERROR_NOT_FOUND && retryOnFailure { goto startOver @@ -138,8 +138,8 @@ startOver: ipif.ManagedAddressConfigurationSupported = false ipif.OtherStatefulConfigurationSupported = false if conf.Interface.MTU > 0 && - (((foundAddress4 || foundRoute4) && family == windows.AF_INET) || - ((foundAddress6 || foundRoute6) && family == windows.AF_INET6)) { + (((foundAddress4 || foundRoute4) && family == windows.AF_INET) || + ((foundAddress6 || foundRoute6) && family == windows.AF_INET6)) { ipif.NLMTU = uint32(conf.Interface.MTU) } if (family == windows.AF_INET && foundDefault4) || (family == windows.AF_INET6 && foundDefault6) { |
