diff --git a/src/primaite/simulator/network/hardware/base.py b/src/primaite/simulator/network/hardware/base.py index 610dd071..6942d280 100644 --- a/src/primaite/simulator/network/hardware/base.py +++ b/src/primaite/simulator/network/hardware/base.py @@ -256,6 +256,7 @@ class NetworkInterface(SimComponent, ABC): """ # Determine the direction of the traffic direction = "inbound" if inbound else "outbound" + # Initialize protocol and port variables protocol = None port = None diff --git a/src/primaite/simulator/network/protocols/ssh.py b/src/primaite/simulator/network/protocols/ssh.py index 7d1f915e..7be81982 100644 --- a/src/primaite/simulator/network/protocols/ssh.py +++ b/src/primaite/simulator/network/protocols/ssh.py @@ -56,9 +56,6 @@ class SSHConnectionMessage(IntEnum): SSH_MSG_CHANNEL_CLOSE = 87 """Closes the channel.""" - SSH_LOGOFF_ACK = 89 - """Logoff confirmation acknowledgement""" - class SSHPacket(DataPacket): """Represents an SSHPacket."""