forked from p15670423/monkey
Common: Use lower-case member name for PortStatus values
This commit is contained in:
parent
28026716db
commit
208ba1c2ab
|
@ -41,11 +41,11 @@ class PortStatus(Enum):
|
|||
An Enum representing the status of the port.
|
||||
|
||||
This Enum represents the status of a network pork. The value of each
|
||||
member is distincive and unique number.
|
||||
member is the member's name in all lower-case characters.
|
||||
"""
|
||||
|
||||
OPEN = 1
|
||||
CLOSED = 2
|
||||
OPEN = "open"
|
||||
CLOSED = "closed"
|
||||
|
||||
|
||||
class SocketAddress(InfectionMonkeyBaseModel):
|
||||
|
|
Loading…
Reference in New Issue