summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/controller/network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/controller/network.py b/ryu/controller/network.py
index dff8e7c0..fbd95adf 100644
--- a/ryu/controller/network.py
+++ b/ryu/controller/network.py
@@ -220,7 +220,7 @@ class DPIDs(dict):
def _set_mac(self, network_id, dpid, port_no, port, mac_address):
if not (port.network_id is None or
port.network_id == network_id or
- port.netowrk_id == self.nw_id_unknown):
+ port.network_id == self.nw_id_unknown):
raise PortNotFound(network_id=network_id, dpid=dpid, port=port_no)
port.network_id = network_id