mirror of
https://github.com/lakinduakash/linux-wifi-hotspot.git
synced 2025-02-16 07:30:09 +00:00
Add gateway to read_config
This commit is contained in:
parent
70f8282759
commit
31f9b44aec
@ -133,6 +133,9 @@ static void setConfigValues(const char * key, char *value){
|
|||||||
|
|
||||||
if( !strcmp ( IEEE80211AC, key ))
|
if( !strcmp ( IEEE80211AC, key ))
|
||||||
configValues.ieee80211ac = value;
|
configValues.ieee80211ac = value;
|
||||||
|
|
||||||
|
if( !strcmp ( GATEWAY, key ))
|
||||||
|
configValues.gateway = value;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -92,6 +92,7 @@ typedef struct{
|
|||||||
char *ieee80211n;
|
char *ieee80211n;
|
||||||
char *ieee80211ac;
|
char *ieee80211ac;
|
||||||
char *no_haveged;
|
char *no_haveged;
|
||||||
|
char *gateway;
|
||||||
} ConfigValues;
|
} ConfigValues;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user