summaryrefslogtreecommitdiffstats
path: root/src/fbgui/fbgui.cpp
diff options
context:
space:
mode:
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"));