#2711 - Amending some minor changes spotted whilst raising PR

This commit is contained in:
Charlie Crane
2024-07-15 10:06:28 +01:00
parent 32c2ea0b10
commit fee7f202a6
2 changed files with 1 additions and 3 deletions

View File

@@ -256,6 +256,7 @@ class NetworkInterface(SimComponent, ABC):
""" """
# Determine the direction of the traffic # Determine the direction of the traffic
direction = "inbound" if inbound else "outbound" direction = "inbound" if inbound else "outbound"
# Initialize protocol and port variables # Initialize protocol and port variables
protocol = None protocol = None
port = None port = None

View File

@@ -56,9 +56,6 @@ class SSHConnectionMessage(IntEnum):
SSH_MSG_CHANNEL_CLOSE = 87 SSH_MSG_CHANNEL_CLOSE = 87
"""Closes the channel.""" """Closes the channel."""
SSH_LOGOFF_ACK = 89
"""Logoff confirmation acknowledgement"""
class SSHPacket(DataPacket): class SSHPacket(DataPacket):
"""Represents an SSHPacket.""" """Represents an SSHPacket."""