Skip to content

Commit

Permalink
Skip default networks without a gateway to enable UDP GRO for forward…
Browse files Browse the repository at this point in the history
…ing (#366)
  • Loading branch information
lmagyar committed May 21, 2024
1 parent a8d64e4 commit 495ca55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ declare keyexpiry
# Note: Executing it before "tailscale up" to avoid warning messages
for interface in $( \
{ ip -4 route show 0/0; ip -6 route show ::/0; } \
| { grep -E '^default\svia\s\S+\sdev\s\S+' || true ;} \
| cut -f5 -d' ' \
| sort -u)
do
Expand Down

0 comments on commit 495ca55

Please sign in to comment.