summaryrefslogtreecommitdiffhomepage
path: root/control/controlknobs/controlknobs.go
diff options
context:
space:
mode:
authorM. J. Fromberger <fromberger@tailscale.com>2025-07-28 09:01:41 -0700
committerGitHub <noreply@github.com>2025-07-28 09:01:41 -0700
commit5ce3845a021b8384814f8279546af80e9fddbf39 (patch)
treee5e50eac9a9db75e083cb6b905ff16a60f70df98 /control/controlknobs/controlknobs.go
parentc962fefa3ed2a1b7234ccbf1a1f9a8bd1c6ef9a0 (diff)
downloadtailscale-5ce3845a021b8384814f8279546af80e9fddbf39.tar.xz
tailscale-5ce3845a021b8384814f8279546af80e9fddbf39.zip
net/portmapper: avert a panic when a mapping is not available (#16686)
Ideally when we attempt to create a new port mapping, we should not return without error when no mapping is available. We already log these cases as unexpected, so this change is just to avoiding panicking dispatch on the invalid result in those cases. We still separately need to fix the underlying control flow. Updates #16662 Change-Id: I51e8a116b922b49eda45e31cd27f6b89dd51abc8 Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs.go')
0 files changed, 0 insertions, 0 deletions