summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ryu/app/simple_isolation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/app/simple_isolation.py b/ryu/app/simple_isolation.py
index ac9e3161..9e1248b2 100644
--- a/ryu/app/simple_isolation.py
+++ b/ryu/app/simple_isolation.py
@@ -231,7 +231,7 @@ class SimpleIsolation(object):
# drop packets?
assert port_nw_id == NW_ID_UNKNOWN
- @set_ev_cls(event.EventOFPPortStatus, MAIN_DISPATCHER)
+ @set_ev_cls(ofp_event.EventOFPPortStatus, MAIN_DISPATCHER)
def port_status_handler(self, ev):
msg = ev.msg
datapath = msg.datapath