summaryrefslogtreecommitdiffstats
path: root/LogReceiver/logreceiver.cpp
diff options
context:
space:
mode:
authorNiklas2011-09-06 17:15:01 +0200
committerNiklas2011-09-06 17:15:01 +0200
commit8ac203bf967050cc07152ca4a002de6b5d5d26ff (patch)
tree12d8de423c15883471f612cc4009422c5623f4ec /LogReceiver/logreceiver.cpp
parentfinaly managed it to create a .so lib of the customdhcpcd files. the dhcpcd.c... (diff)
downloadfbgui-8ac203bf967050cc07152ca4a002de6b5d5d26ff.tar.gz
fbgui-8ac203bf967050cc07152ca4a002de6b5d5d26ff.tar.xz
fbgui-8ac203bf967050cc07152ca4a002de6b5d5d26ff.zip
latest version of all files. cmake still doesn't work
Diffstat (limited to 'LogReceiver/logreceiver.cpp')
-rw-r--r--LogReceiver/logreceiver.cpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/LogReceiver/logreceiver.cpp b/LogReceiver/logreceiver.cpp
index 61e9c62..66c65e5 100644
--- a/LogReceiver/logreceiver.cpp
+++ b/LogReceiver/logreceiver.cpp
@@ -1,25 +1,9 @@
-#include <QMap>
-#include <QtNetwork>
-#include <QProcess>
-
-#include <arpa/inet.h>
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <syslog.h>
-#include <sysfs/libsysfs.h>
#include "logreceiver.h"
-#include "interfaceconfiguration.h"
-#include <qlocalserver.h>
-#include <qlocalsocket.h>
-#include "status.h"
-#include "dhcp.h"
-#include "interface.h"
#include "../common/fbgui.h"
-LogReceiver::LogReceiver() {
+LogReceiver::LogReceiver(QObject *parent) {
server = new QLocalServer(this);
}
@@ -250,7 +234,7 @@ void LogReceiver::checkConnectivity(QString ifName) {
ba = ifConf.getGateway().toAscii();
const char * gwaddr = ba.data();
inet_aton(gwaddr,&gw);
- del_route(ifname, destination, netmask, gw, metric);
+ //del_route(ifname, destination, netmask, gw, metric);
QProcess * p = new QProcess(this);
/*