Skip to content

Commit

Permalink
refactor: bring back removed log entry
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-przytarski committed Sep 20, 2024
1 parent dec4f1b commit c765466
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/tunnel/tunnel.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ func (t Tunnel) Close() error {
// ManualPairAndConnectToTunnel tries to verify an existing pairing, and if this fails it triggers a new manual pairing process.
// After a successful pairing a tunnel for this device gets started and the tunnel information is returned
func ManualPairAndConnectToTunnel(ctx context.Context, device ios.DeviceEntry, p PairRecordManager) (Tunnel, error) {
logrus.Info("ManualPairAndConnectToTunnel: starting manual pairing and tunnel connection, dont forget to run this with sudo.")
addr, err := ios.FindDeviceInterfaceAddress(ctx, device)
if err != nil {
return Tunnel{}, fmt.Errorf("ManualPairAndConnectToTunnel: failed to find device ethernet interface: %w", err)
Expand Down

0 comments on commit c765466

Please sign in to comment.