daemon: updated emane model platform configuration to remove controlportendpoint option, as this will be something core itself will define

This commit is contained in:
Blake Harnden 2021-05-26 12:57:35 -07:00
parent 3fcefc4d79
commit b51200e397
2 changed files with 12 additions and 2 deletions

View file

@ -165,9 +165,10 @@ def build_platform_xml(
for configuration in emane_net.model.platform_config:
name = configuration.id
value = config[configuration.id]
if name == "controlportendpoint":
value = f"0.0.0.0:{nem_port}"
add_param(platform_element, name, value)
add_param(
platform_element, emane_net.model.platform_controlport, f"0.0.0.0:{nem_port}"
)
# build nem xml
nem_definition = nem_file_name(iface)