diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-02-08 12:28:19 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-02-08 22:55:39 +0900 |
commit | 0e66f61dd0d0b2c14efb47e414553a3b615a8688 (patch) | |
tree | d5201fd2e95fb9f0570db7f6b560b7577c0b356f | |
parent | 4627e89b3db8130d0f5baf38d300ecfcdc570584 (diff) |
fix a fatal typo in network.py
netowrk_id -> network_id
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/controller/network.py | 2 |
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 |