mirror of
https://github.com/tailscale/tailscale.git
synced 2026-09-19 18:18:24 -04:00
stunner: return wrapped error (currently unused)
This commit is contained in:
1 parent
b4d02a251a
commit
52c0cb12fb
1 file changed
+1
-1
+1
-1
@@ -206,7 +206,7 @@ type sender struct {
|
||||
if len(missing) == 0 || err == nil {
|
||||
return nil
|
||||
}
|
||||
return fmt.Errorf("got STUN error: %v; missing replies from: %v", err, strings.Join(missing, ", "))
|
||||
return fmt.Errorf("got STUN error: %w; missing replies from: %v", err, strings.Join(missing, ", "))
|
||||
}
|
||||
|
||||
func (s *Stunner) serverAddr(ctx context.Context, server string) (*net.UDPAddr, error) {
|
||||
|
||||
Reference in new issue
Block a user