From 2b2548a9272026f2e93bbcaae67135b10fd73309 Mon Sep 17 00:00:00 2001 From: "Blake J. Harnden" Date: Tue, 27 Mar 2018 23:14:04 -0700 Subject: [PATCH] fixed typo during cleanup pass --- daemon/core/emane/rfpipe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/core/emane/rfpipe.py b/daemon/core/emane/rfpipe.py index 55c60533..366fd205 100644 --- a/daemon/core/emane/rfpipe.py +++ b/daemon/core/emane/rfpipe.py @@ -78,14 +78,14 @@ class EmaneRfPipeModel(EmaneModel): emane_manager.xmlwrite(nem_document, nem_name) names = list(self.getnames()) - mac_name = names[:len(self._config_mac)] + mac_names = names[:len(self._config_mac)] phy_names = names[len(self._config_mac):] mac_document = emane_manager.xmldoc("mac") mac_element = mac_document.getElementsByTagName("mac").pop() mac_element.setAttribute("name", "RF-PIPE MAC") mac_element.setAttribute("library", "rfpipemaclayer") - for name in mac_name: + for name in mac_names: value = self.valueof(name, values) param = emane_manager.xmlparam(mac_document, name, value) mac_element.appendChild(param)