#2711 - Amending some minor changes spotted whilst raising PR
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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."""
|
||||||
|
|||||||
Reference in New Issue
Block a user