summaryrefslogtreecommitdiffstats
path: root/LogReceiver/logreceiver.h
diff options
context:
space:
mode:
authorNiklas2011-09-01 16:16:07 +0200
committerNiklas2011-09-01 16:16:07 +0200
commit8024e86b5ce80beb2870654cf29308a0f1f208b8 (patch)
tree90b31ed2d9197999c60c921fc35e0a3db4a70973 /LogReceiver/logreceiver.h
parenttried to clean the git. deleted old unused files and folders. moved customdhc... (diff)
downloadfbgui-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.h4
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);