fix typo in incomplete default routes error message

Signed-off-by: Kamal Nasser <hello@kamal.io>
main
Kamal Nasser 4 years ago committed by Denton Gentry
parent b997304bf6
commit f983962fc6
  1. 2
      cmd/tailscale/cli/up.go

@ -252,7 +252,7 @@ func calcAdvertiseRoutes(advertiseRoutes string, advertiseDefaultRoute bool) ([]
if default4 && !default6 {
return nil, fmt.Errorf("%s advertised without its IPv6 counterpart, please also advertise %s", ipv4default, ipv6default)
} else if default6 && !default4 {
return nil, fmt.Errorf("%s advertised without its IPv6 counterpart, please also advertise %s", ipv6default, ipv4default)
return nil, fmt.Errorf("%s advertised without its IPv4 counterpart, please also advertise %s", ipv6default, ipv4default)
}
}
if advertiseDefaultRoute {

Loading…
Cancel
Save