From 0e66f61dd0d0b2c14efb47e414553a3b615a8688 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 8 Feb 2013 12:28:19 +0900 Subject: fix a fatal typo in network.py netowrk_id -> network_id Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- ryu/controller/network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3