diff --git a/daemon/core/emulator/session.py b/daemon/core/emulator/session.py index 7622127a..2db2c1ad 100644 --- a/daemon/core/emulator/session.py +++ b/daemon/core/emulator/session.py @@ -550,7 +550,7 @@ class Session: raise CoreError( f"node({node.name}) emane model({options.emane}) does not exist" ) - node.setmodel(model, {}) + node.model = model(self, node.id) if self.state == EventTypes.RUNTIME_STATE: self.emane.add_node(node) # set default wlan config if needed