From bb937c10926d1ff9965b0cdf1fedb0d4fd64866d Mon Sep 17 00:00:00 2001 From: Chris McCarthy Date: Tue, 2 Apr 2024 12:56:15 +0100 Subject: [PATCH] #2149 - docstring changes following PR suggestions. --- .../simulator/network/hardware/nodes/network/router.py | 6 +++--- src/primaite/simulator/system/core/session_manager.py | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/primaite/simulator/network/hardware/nodes/network/router.py b/src/primaite/simulator/network/hardware/nodes/network/router.py index 6571829a..f8b5623f 100644 --- a/src/primaite/simulator/network/hardware/nodes/network/router.py +++ b/src/primaite/simulator/network/hardware/nodes/network/router.py @@ -1023,11 +1023,11 @@ class RouterSessionManager(SessionManager): """ Manages network sessions, including session creation, lookup, and communication with other components. - The RouterSessionManager is a Router/Firewall specific implementation of SessionManager. It enables to resolve - outbound interface transmission details functions to leverage the route table instead of the default gateway. + The RouterSessionManager is a Router/Firewall specific implementation of SessionManager. It overrides the + resolve_outbound_network_interface and resolve_outbound_transmission_details functions, allowing them to leverage + the route table instead of the default gateway. :param sys_log: A reference to the system log component. - :param arp_cache: A reference to the ARP cache component. """ def resolve_outbound_network_interface(self, dst_ip_address: IPv4Address) -> Optional[RouterInterface]: diff --git a/src/primaite/simulator/system/core/session_manager.py b/src/primaite/simulator/system/core/session_manager.py index 3fa2aa97..68f44dca 100644 --- a/src/primaite/simulator/system/core/session_manager.py +++ b/src/primaite/simulator/system/core/session_manager.py @@ -72,7 +72,6 @@ class SessionManager: Manages network sessions, including session creation, lookup, and communication with other components. :param sys_log: A reference to the system log component. - :param arp_cache: A reference to the ARP cache component. """ def __init__(self, sys_log: SysLog):