mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-18 09:24:41 -04:00
net/tstun: simplify code
Calculate whether the packet is injected directly, rather than via an else branch. Unify the exit paths. It is easier here than duplicating them. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f