network setup: calculate broadcast based on ip and netmask

Origin commit data
------------------
Commit: 336dbca45c
Author: martii <m4rtii@gmx.de>
Date: 2015-05-12 (Tue, 12 May 2015)
This commit is contained in:
martii
2015-05-12 09:09:44 +02:00
committed by vanhofen
parent 320b8ef9ab
commit 496812d39c
2 changed files with 23 additions and 16 deletions

View File

@@ -96,6 +96,7 @@ class CNetworkSetup : public CMenuTarget, CChangeObserver
bool checkForIP();
bool settingsChanged();
const char * mypinghost(std::string &host);
void setBroadcast(void);
public:
enum NETWORK_DHCP_MODE