diff --git a/config.yml b/config.yml index b63606a3..36df4917 100644 --- a/config.yml +++ b/config.yml @@ -110,7 +110,7 @@ system: speed: 115200 udp: mode: master # Valid values are "master", and "peer" - address: 0.0.0.0 + endpointAddress: 0.0.0.0 port: 3334 rxInvert: false txInvert: false diff --git a/host/Host.cpp b/host/Host.cpp index 9bc2f777..b8e2357e 100644 --- a/host/Host.cpp +++ b/host/Host.cpp @@ -1343,7 +1343,7 @@ bool Host::createModem() yaml::Node udpProtocol = modemProtocol["udp"]; std::string udpMode = udpProtocol["mode"].as("master"); - std::string udpAddress = udpProtocol["address"].as(); + std::string udpAddress = udpProtocol["endpointAddress"].as(); uint32_t udpPort = udpProtocol["port"].as(REMOTE_MODEM_PORT); bool rxInvert = modemConf["rxInvert"].as(false);