]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: simplify IpcHandle error handling
authorJosh Bleecher Snyder <josh@tailscale.com>
Mon, 25 Jan 2021 16:55:08 +0000 (08:55 -0800)
committerJosh Bleecher Snyder <josh@tailscale.com>
Mon, 25 Jan 2021 17:09:24 +0000 (09:09 -0800)
commit37a239e7360dd38e513fd7d717ce50de6d8215ff
treef11553aaa56eb60f181be32e54f7268388059959
parent6252de0db9331cbc20074e9d40165266b5816148
device: simplify IpcHandle error handling

Unify the handling of unexpected UAPI errors.
The comment that says "should never happen" is incorrect;
this could happen due to I/O errors. Correct it.

Change error message capitalization for consistency.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/uapi.go