Skip to content

Commit 09bfee2

Browse files
authored
disco: add missing message types to MessageSummary (tailscale#17081)
Updates tailscale/corp#30818 Signed-off-by: Jordan Whited <jordan@tailscale.com>
1 parent 88d7db3 commit 09bfee2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

disco/disco.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,12 +287,18 @@ func MessageSummary(m Message) string {
287287
return fmt.Sprintf("pong tx=%x", m.TxID[:6])
288288
case *CallMeMaybe:
289289
return "call-me-maybe"
290+
case *CallMeMaybeVia:
291+
return "call-me-maybe-via"
290292
case *BindUDPRelayEndpoint:
291293
return "bind-udp-relay-endpoint"
292294
case *BindUDPRelayEndpointChallenge:
293295
return "bind-udp-relay-endpoint-challenge"
294296
case *BindUDPRelayEndpointAnswer:
295297
return "bind-udp-relay-endpoint-answer"
298+
case *AllocateUDPRelayEndpointRequest:
299+
return "allocate-udp-relay-endpoint-request"
300+
case *AllocateUDPRelayEndpointResponse:
301+
return "allocate-udp-relay-endpoint-response"
296302
default:
297303
return fmt.Sprintf("%#v", m)
298304
}

0 commit comments

Comments
 (0)