mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-25 02:21:45 +01:00
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>
This commit is contained in:
parent
7598ef0561
commit
55fe4e17ec
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user