mirror of
https://github.com/fosrl/olm.git
synced 2026-02-08 05:56:41 +00:00
@@ -210,7 +210,6 @@ func TunnelProcess(ctx context.Context, config Config, id string, secret string,
|
||||
|
||||
var (
|
||||
interfaceName = config.InterfaceName
|
||||
loggerLevel = util.ParseLogLevel(config.LogLevel)
|
||||
)
|
||||
|
||||
// Create a new olm client using the provided credentials
|
||||
@@ -412,7 +411,8 @@ func TunnelProcess(ctx context.Context, config Config, id string, secret string,
|
||||
// return
|
||||
// }
|
||||
|
||||
dev = device.NewDevice(tdev, sharedBind, device.NewLogger(util.MapToWireGuardLogLevel(loggerLevel), "wireguard: "))
|
||||
wgLogger := logger.GetLogger().GetWireGuardLogger("wireguard: ")
|
||||
dev = device.NewDevice(tdev, sharedBind, (*device.Logger)(wgLogger))
|
||||
|
||||
// uapiListener, err = uapiListen(interfaceName, fileUAPI)
|
||||
// if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user