mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-26 19:46:27 -08:00
Probe only counted the OK, not authorized and address mismatch PCP result codes. All other codes went to portmap_pcp_unhandled_response_code. This adds all RFC 6887 result codes. IANA has allocated more for RFCs 7652 and 7843, but we are leaving those out since we don't use authentication or third-party options. PCP replies with an opcode other than ANNOUNCE now go to a new portmap_pcp_unhandled_opcode metric instead of portmap_pcp_unhandled_response_code, same as NAT-PMP. Updates tailscale/corp#51202 Change-Id: I00bc0309914280c4238cb2aaa322a595fe94d699 Signed-off-by: Francois Marier <[email protected]>