From e7f065b063bdf459cc809074cab0a6875ce8f2ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Mon, 2 Jan 2023 16:58:06 +0100 Subject: [PATCH] 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 --- config.proto | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.proto b/config.proto index eafbdcd..72a5867 100644 --- a/config.proto +++ b/config.proto @@ -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