diff --git a/src/ui/read_config.cpp b/src/ui/read_config.cpp index 8eb3b3e..3e2dc72 100644 --- a/src/ui/read_config.cpp +++ b/src/ui/read_config.cpp @@ -133,6 +133,9 @@ static void setConfigValues(const char * key, char *value){ if( !strcmp ( IEEE80211AC, key )) configValues.ieee80211ac = value; + + if( !strcmp ( GATEWAY, key )) + configValues.gateway = value; } diff --git a/src/ui/read_config.h b/src/ui/read_config.h index a46769a..2fb240f 100644 --- a/src/ui/read_config.h +++ b/src/ui/read_config.h @@ -92,6 +92,7 @@ typedef struct{ char *ieee80211n; char *ieee80211ac; char *no_haveged; + char *gateway; } ConfigValues;