summaryrefslogtreecommitdiffstats
path: root/src/fbgui/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2012-02-23 09:38:21 +0100
committerJonathan Bauer2012-02-23 09:38:21 +0100
commitebfec6cb6e5821ee8d6bf3def47b46eba508324c (patch)
tree72674177af64972369c83013de8cafca34350ba3 /src/fbgui/fbgui.cpp
parentsorted functions declarations & deleted some unused members... (diff)
downloadfbgui-ebfec6cb6e5821ee8d6bf3def47b46eba508324c.tar.gz
fbgui-ebfec6cb6e5821ee8d6bf3def47b46eba508324c.tar.xz
fbgui-ebfec6cb6e5821ee8d6bf3def47b46eba508324c.zip
connected interfaces saved in networkdiscovery class and now accessed by getter & minor
Diffstat (limited to 'src/fbgui/fbgui.cpp')
-rw-r--r--src/fbgui/fbgui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fbgui/fbgui.cpp b/src/fbgui/fbgui.cpp
index 3a9f686..48e776b 100644
--- a/src/fbgui/fbgui.cpp
+++ b/src/fbgui/fbgui.cpp
@@ -191,6 +191,9 @@ QByteArray fbgui::generatePOSTData() {
serial.chop(1); // chop EOF
LOG4CXX_DEBUG(coreLogger, "[post] Serial number is: " << serial);
+ if (gInterfaceName.isEmpty())
+ gInterfaceName = "eth0";
+
// construct final byte array
QByteArray postData("mac=");
postData.append(si.getInfo("mac"));