diff --git a/cmd/jag/commands/device_network.go b/cmd/jag/commands/device_network.go index d48d15e..a15784b 100644 --- a/cmd/jag/commands/device_network.go +++ b/cmd/jag/commands/device_network.go @@ -226,6 +226,8 @@ func ScanNetwork(ctx context.Context, ds deviceSelect, port uint) ([]Device, err } else if dev == nil { return nil, fmt.Errorf("invalid identify response") } + // Use the provided address. This way we can tunnel through the device. + dev.address = "http://" + addr return []Device{*dev}, nil }