Skip to content

Commit

Permalink
Skip default networks without a gateway to enable UDP GRO for forwarding
Browse files Browse the repository at this point in the history
  • Loading branch information
lmagyar committed May 21, 2024
1 parent 724ca2c commit e299d34
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 e299d34

Please sign in to comment.