Remove more magic numbers from WriteSocketData.

This commit is contained in:
Andrius Štikonas 2015-02-11 14:31:20 +00:00
parent 033b49e365
commit 1f16785dd8
2 changed files with 23 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -69,6 +69,12 @@ private:
QByteArray port = QByteArray::fromHex ( "10:27" ); // 10000 in hex (little endian)
QByteArray localIP; // same as QHostAddress ip but in QByteArray, maybe fix later...
QByteArray localGatewayIP;
QByteArray localNetMask;
QByteArray dhcpNode;
QByteArray discoverable;
QByteArray timeZoneSet;
QByteArray timeZone;
QByteArray countdown;
QByteArray socketTableNumber, socketTableVersion, timingTableNumber, timingTableVersion; // FIXME: not used yet
const QByteArray twenties = QByteArray::fromHex ( "20 20 20 20 20 20" ); // mac address padding, 6 spaces