#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
|
||||
direction = "inbound" if inbound else "outbound"
|
||||
|
||||
# Initialize protocol and port variables
|
||||
protocol = None
|
||||
port = None
|
||||
|
||||
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user