Rename eth_mode->address_mode, it's also for WiFi

Numerical values and struct stay the same. May need changes to the client code for setting/getting these
pull/265/head
Thomas Göttgens 2023-01-02 16:58:06 +01:00 zatwierdzone przez Sacha Weatherstone
rodzic bf7c81b5ef
commit 8a97dd0427
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -273,7 +273,7 @@ message Config {
*/
message NetworkConfig {
enum EthMode {
enum AddressMode {
/*
* obtain ip address via DHCP
*/
@ -312,7 +312,6 @@ message Config {
*/
bool wifi_enabled = 1;
/*
* If set, this node will try to join the specified wifi network and
* acquire an address via DHCP
@ -337,7 +336,7 @@ message Config {
/*
* acquire an address via DHCP or assign static
*/
EthMode eth_mode = 7;
AddressMode address_mode = 7;
/*
* struct to keep static address