From 2413a2f6a8d3f12815cd142f46eff3b5e2d02999 Mon Sep 17 00:00:00 2001 From: Archer Bowen Date: Mon, 19 Aug 2024 13:10:35 +0100 Subject: [PATCH] #2689 Fixing oversight on method call --- .../system/applications/red_applications/c2/abstract_c2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/primaite/simulator/system/applications/red_applications/c2/abstract_c2.py b/src/primaite/simulator/system/applications/red_applications/c2/abstract_c2.py index 3d096209..354976b7 100644 --- a/src/primaite/simulator/system/applications/red_applications/c2/abstract_c2.py +++ b/src/primaite/simulator/system/applications/red_applications/c2/abstract_c2.py @@ -463,7 +463,7 @@ class AbstractC2(Application, identifier="AbstractC2"): :return: A tuple containing a boolean True/False and a corresponding Request Response :rtype: tuple[bool, RequestResponse] """ - if not self._can_perform_network_action: + if not self._can_perform_network_action(): self.sys_log.warning(f"{self.name}: Unable to make leverage networking resources. Rejecting Command.") return ( False,