kdeconnect-kde/core/backends
Jean Vincent 25b86c6c7f Determine which IP address to use for sshfs
Summary:
There is currently an issue where the device doesn't send the correct IP address for sshfs when a VPN is present.

Instead of asking the device to find and send its address, we can store it from when the device link is created then reuse it.

Test Plan:
All unit tests pass.

In these different situations:
  - without a VPN
  - with a VPN running
  - with a VPN started then stopped (the tun interface might still be there)
Try to remotely browse the device. It should work in all cases.

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: albertvaka, apol, nicolasfella, sredman

Tags: #kde_connect

Differential Revision: https://phabricator.kde.org/D6730
2017-07-22 11:18:06 +02:00
..
bluetooth Replace Q_FOREACH with C++11 range-for 2017-07-21 09:57:19 +02:00
lan Determine which IP address to use for sshfs 2017-07-22 11:18:06 +02:00
loopback Clazy says all this QStringLiteral and QLatin1String were missing/wrong 2016-11-26 16:21:29 +01:00
devicelinereader.cpp Add initial Bluetooth backend implementation. 2017-05-24 23:54:58 +02:00
devicelinereader.h Adapt to new API in master 2017-05-24 23:54:58 +02:00
devicelink.cpp Moved ConnectionStarted from DeviceLink to LanDeviceLink 2016-01-10 07:12:13 -08:00
devicelink.h Expose pairing state for devices 2017-01-25 00:22:22 +01:00
linkprovider.cpp Reorganize sources 2014-06-14 15:22:40 +02:00
linkprovider.h Unused include cleanup 2016-07-05 14:13:48 +02:00
pairinghandler.cpp WIPx3! 2015-12-01 10:45:14 -08:00
pairinghandler.h Expose pairing state for devices 2017-01-25 00:22:22 +01:00