Skip to content

Commit 6b51db3

Browse files
committed
Minor fixes in swat-s1 example
[ci skip]
1 parent 553b03f commit 6b51db3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

examples/swat-s1/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ def __init__(self, name, net):
4242
topo = SwatTopo()
4343
net = Mininet(topo=topo)
4444

45-
toycps = SwatS1CPS(
45+
swat_s1_cps = SwatS1CPS(
4646
name='swat_s1',
4747
net=net)

examples/swat-s1/topo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
from utils import IP, MAC, NETMASK
88

99

10-
# TODO: add netmasks to IPs?
1110
class SwatTopo(Topo):
1211

1312
"""SWaT 3 plcs + attacker + private dirs."""

0 commit comments

Comments
 (0)