Add gateway to read_config

This commit is contained in:
Lakindu Akash 2021-12-27 01:14:57 +05:30
parent 70f8282759
commit 31f9b44aec
No known key found for this signature in database
GPG Key ID: 6FB0085A614E0AC2
2 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,9 @@ static void setConfigValues(const char * key, char *value){
if( !strcmp ( IEEE80211AC, key ))
configValues.ieee80211ac = value;
if( !strcmp ( GATEWAY, key ))
configValues.gateway = value;
}

View File

@ -92,6 +92,7 @@ typedef struct{
char *ieee80211n;
char *ieee80211ac;
char *no_haveged;
char *gateway;
} ConfigValues;