mirror of
https://github.com/fosrl/newt.git
synced 2026-03-26 12:36:45 +00:00
Clean up previous logging
This commit is contained in:
@@ -112,8 +112,6 @@ func NewWireGuardService(interfaceName string, port uint16, mtu int, host string
|
|||||||
return nil, fmt.Errorf("failed to generate private key: %v", err)
|
return nil, fmt.Errorf("failed to generate private key: %v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.Debug("+++++++++++++++++++++++++++++++= the port is %d", port)
|
|
||||||
|
|
||||||
if port == 0 {
|
if port == 0 {
|
||||||
// Find an available port
|
// Find an available port
|
||||||
portRandom, err := util.FindAvailableUDPPort(49152, 65535)
|
portRandom, err := util.FindAvailableUDPPort(49152, 65535)
|
||||||
|
|||||||
2
main.go
2
main.go
@@ -619,8 +619,6 @@ func runNewtMain(ctx context.Context) {
|
|||||||
var wgData WgData
|
var wgData WgData
|
||||||
var dockerEventMonitor *docker.EventMonitor
|
var dockerEventMonitor *docker.EventMonitor
|
||||||
|
|
||||||
logger.Debug("++++++++++++++++++++++ the port is %d", port)
|
|
||||||
|
|
||||||
if !disableClients {
|
if !disableClients {
|
||||||
setupClients(client)
|
setupClients(client)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user