diff options
| author | Niklas | 2011-09-01 16:16:07 +0200 |
|---|---|---|
| committer | Niklas | 2011-09-01 16:16:07 +0200 |
| commit | 8024e86b5ce80beb2870654cf29308a0f1f208b8 (patch) | |
| tree | 90b31ed2d9197999c60c921fc35e0a3db4a70973 /LogReceiver/logreceiver.h | |
| parent | tried to clean the git. deleted old unused files and folders. moved customdhc... (diff) | |
| download | fbgui-8024e86b5ce80beb2870654cf29308a0f1f208b8.tar.gz fbgui-8024e86b5ce80beb2870654cf29308a0f1f208b8.tar.xz fbgui-8024e86b5ce80beb2870654cf29308a0f1f208b8.zip | |
bigger changes in the checkConnectivity method. using now route command to delete and add the default route. for this i am writing the gateways for every interface into a new file. located at /var/tmp/gateways_<interfaceName>
Diffstat (limited to 'LogReceiver/logreceiver.h')
| -rw-r--r-- | LogReceiver/logreceiver.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/LogReceiver/logreceiver.h b/LogReceiver/logreceiver.h index ce6d070..a8572d0 100644 --- a/LogReceiver/logreceiver.h +++ b/LogReceiver/logreceiver.h @@ -16,7 +16,8 @@ class LogReceiver: public QObject { Q_OBJECT #define DEFAULT_QTSOCKETADDRESS "/var/tmp/qt_c_socket_default" -#define DEFAULT_PATHTODHCPCDEXE "/home/niklas/fbgui/workspace/customdhcpcd/src/customdhcpcd" +#define DEFAULT_PATHTODHCPCDEXE "/home/niklas/fbgui/customdhcpcd/src/customdhcpcd" +#define DEFAULT_GATEWAY_INFO_LOCATION "/var/tmp/gateways_" public: LogReceiver(); @@ -66,6 +67,7 @@ private: void checkInternetConnection(QString ifName); void checkInternetConnection(QList<QString> &interfaces); void checkInternetConnectionViaTCP(QString ifName); + void checkConnectivity(QString ifName); QList<QString> getListOfNetworkInterfaces(); bool checkBlackList(QString i); |
