Fix typos

This commit is contained in:
Marek Wolan
2024-02-25 18:36:20 +00:00
parent 994dbc3501
commit 63c9a36c30
2 changed files with 3 additions and 3 deletions

View File

@@ -568,7 +568,7 @@
"cell_type": "markdown",
"metadata": {},
"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."
]
},
{

View File

@@ -1,6 +1,6 @@
from datetime import datetime
from ipaddress import IPv4Address
from typing import Dict, List, Optional
from typing import Dict, Optional
from primaite import getLogger
from primaite.simulator.network.protocols.ntp import NTPPacket
@@ -54,7 +54,7 @@ class NTPClient(Service):
payload: NTPPacket,
session_id: Optional[str] = None,
dest_ip_address: IPv4Address = None,
dest_port: List[Port] = Port.NTP,
dest_port: Port = Port.NTP,
**kwargs,
) -> bool:
"""Requests NTP data from NTP server.