Fix wireguard start

This commit is contained in:
世界 2024-09-20 20:12:12 +08:00
parent f5554dd8b8
commit 3b0cba0852
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4

View File

@ -57,7 +57,7 @@ func NewSystemDevice(router adapter.Router, interfaceName string, localPrefixes
inet4Addresses: inet4Addresses,
inet6Addresses: inet6Addresses,
gso: gso,
events: make(chan wgTun.Event),
events: make(chan wgTun.Event, 1),
}, nil
}