summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMADA Hideki <yamada.hideki@po.ntts.co.jp>2014-05-20 10:58:52 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-05-20 12:39:09 +0900
commit55fe4e17ec33fccd7f8cfce509e6e47c6d292be7 (patch)
tree95c58e9a8f3b1b5b403ea8de466650956f6f8392
parent7598ef056193f02b4cedc452774a0795d6df6c29 (diff)
simple_switch_websocket_13: fix typo
Signed-off-by: YAMADA Hideki <yamada.hideki@po.ntts.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/app/simple_switch_websocket_13.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/app/simple_switch_websocket_13.py b/ryu/app/simple_switch_websocket_13.py
index a6fd989b..2cee2387 100644
--- a/ryu/app/simple_switch_websocket_13.py
+++ b/ryu/app/simple_switch_websocket_13.py
@@ -66,11 +66,11 @@ class SimpleSwitchWebSocketController(ControllerBase):
def __init__(self, req, link, data, **config):
super(SimpleSwitchWebSocketController, self).__init__(
req, link, data, **config)
- self.simpl_switch_spp = data[simple_switch_instance_name]
+ self.simple_switch_app = data[simple_switch_instance_name]
@websocket('simpleswitch', url)
def _websocket_handler(self, ws):
- simple_switch = self.simpl_switch_spp
+ simple_switch = self.simple_switch_app
simple_switch.logger.debug('WebSocket connected: %s', ws)
while True:
msg = ws.wait()