diff options
| author | David Crawshaw <crawshaw@tailscale.com> | 2021-05-18 13:25:43 -0700 |
|---|---|---|
| committer | David Crawshaw <crawshaw@tailscale.com> | 2021-05-18 13:29:40 -0700 |
| commit | 0c55ab0ce2a505545a3ea2302d9fa22fb435a843 (patch) | |
| tree | e7c3117f745e3652f0e71fb4463965af036aa719 /control/controlclient/debug.go | |
| parent | 85df1b0fa7d565f5b3deddd825fd08eafbd71632 (diff) | |
| download | tailscale-crawshaw/newbackendserver.tar.xz tailscale-crawshaw/newbackendserver.zip | |
ipn: allow b to be nil in NewBackendServercrawshaw/newbackendserver
A couple of code paths in ipnserver use a NewBackendServer with a nil
backend just to call the callback with an encapsulated error message.
This covers a panic case seen in logs.
For #1920
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
Diffstat (limited to 'control/controlclient/debug.go')
0 files changed, 0 insertions, 0 deletions
