mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 15:26:40 +00:00
remove lazy dll load
This commit is contained in:
@@ -39,13 +39,13 @@ func (c *tunDevice) Create() error {
|
||||
// createWithUserspace Creates a new WireGuard interface, using wireguard-go userspace implementation
|
||||
func (c *tunDevice) createWithUserspace() (NetInterface, error) {
|
||||
|
||||
dll := newLazyDLL("wintun.dll", func(d *lazyDLL) {})
|
||||
/*dll := newLazyDLL("wintun.dll", func(d *lazyDLL) {})
|
||||
|
||||
err := dll.Load()
|
||||
if err != nil {
|
||||
log.Errorf("failed loading dll %v", err)
|
||||
return nil, err
|
||||
}
|
||||
}*/
|
||||
|
||||
tunIface, err := tun.CreateTUN(c.name, c.mtu)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user