network setup: calculate broadcast based on ip and netmask

This commit is contained in:
martii
2015-05-12 09:09:44 +02:00
committed by svenhoefer
parent 11eac1f091
commit 336dbca45c
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