mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-22 08:51:41 +00:00
tailcfg: use ? for portmap summary to match netcheck
This commit is contained in:
parent
67ebba90e1
commit
0d481030f3
@ -359,7 +359,7 @@ func (ni *NetInfo) String() string {
|
|||||||
|
|
||||||
func (ni *NetInfo) portMapSummary() string {
|
func (ni *NetInfo) portMapSummary() string {
|
||||||
if ni.UPnP == "" && ni.PMP == "" && ni.PCP == "" {
|
if ni.UPnP == "" && ni.PMP == "" && ni.PCP == "" {
|
||||||
return "na"
|
return "?"
|
||||||
}
|
}
|
||||||
return conciseOptBool(ni.UPnP, "U") + conciseOptBool(ni.PMP, "M") + conciseOptBool(ni.PCP, "C")
|
return conciseOptBool(ni.UPnP, "U") + conciseOptBool(ni.PMP, "M") + conciseOptBool(ni.PCP, "C")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user