diff options
-rw-r--r-- | ryu/app/simple_switch_websocket_13.py | 4 |
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() |