Fix typos
This commit is contained in:
@@ -568,7 +568,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"Reset the cell, you can rerun the other cells to verify that the attack works the same every episode."
|
"Reset the environment, you can rerun the other cells to verify that the attack works the same every episode."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from ipaddress import IPv4Address
|
from ipaddress import IPv4Address
|
||||||
from typing import Dict, List, Optional
|
from typing import Dict, Optional
|
||||||
|
|
||||||
from primaite import getLogger
|
from primaite import getLogger
|
||||||
from primaite.simulator.network.protocols.ntp import NTPPacket
|
from primaite.simulator.network.protocols.ntp import NTPPacket
|
||||||
@@ -54,7 +54,7 @@ class NTPClient(Service):
|
|||||||
payload: NTPPacket,
|
payload: NTPPacket,
|
||||||
session_id: Optional[str] = None,
|
session_id: Optional[str] = None,
|
||||||
dest_ip_address: IPv4Address = None,
|
dest_ip_address: IPv4Address = None,
|
||||||
dest_port: List[Port] = Port.NTP,
|
dest_port: Port = Port.NTP,
|
||||||
**kwargs,
|
**kwargs,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
"""Requests NTP data from NTP server.
|
"""Requests NTP data from NTP server.
|
||||||
|
|||||||
Reference in New Issue
Block a user