diff options
| author | Jordan Whited <jordan@tailscale.com> | 2025-11-25 15:05:04 -0800 |
|---|---|---|
| committer | Jordan Whited <jwhited0917@gmail.com> | 2025-11-25 19:40:17 -0800 |
| commit | 824027305a2b986b523b5b29dab7b96dba4475aa (patch) | |
| tree | c6b75c4c59738fccf468a26f832b935881d2773f /util/execqueue/execqueue.go | |
| parent | 53476ce8721f049250f835335dbcaef558852c9e (diff) | |
| download | tailscale-824027305a2b986b523b5b29dab7b96dba4475aa.tar.xz tailscale-824027305a2b986b523b5b29dab7b96dba4475aa.zip | |
cmd/tailscale/cli,ipn,all: make peer relay server port a *uint16
In preparation for exposing its configuration via ipn.ConfigVAlpha,
change {Masked}Prefs.RelayServerPort from *int to *uint16. This takes a
defensive stance against invalid inputs at JSON decode time.
'tailscale set --relay-server-port' is currently the only input to this
pref, and has always sanitized input to fit within a uint16.
Updates tailscale/corp#34591
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Diffstat (limited to 'util/execqueue/execqueue.go')
0 files changed, 0 insertions, 0 deletions
