wireguard: Fix missing fallback for gso
This commit is contained in:
parent
d18d2b352a
commit
6fc511f56e
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func (w *systemDevice) Start() error {
|
|||
w.options.Logger.Info("started at ", w.options.Name)
|
||||
w.device = tunInterface
|
||||
batchTUN, isBatchTUN := tunInterface.(tun.LinuxTUN)
|
||||
if isBatchTUN {
|
||||
if isBatchTUN && batchTUN.BatchSize() > 1 {
|
||||
w.batchDevice = batchTUN
|
||||
}
|
||||
w.events <- wgTun.EventUp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue