netowrk_id -> network_id

Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 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 dff8e7c..fbd95ad 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
-- 
1.7.12


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to