mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 22:06:10 +02:00
fix traceroute notification regression
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
b337333afc
commit
824069e3d0
@ -164,13 +164,13 @@ class OFWireRpcSession(object):
|
||||
self.ofp_handle_request(m)
|
||||
elif m[2] == 'monitor_port':
|
||||
self.monitor_port(m)
|
||||
elif m[0] == RpcMessage.RESPONSE:
|
||||
pass
|
||||
elif m[0] == RpcMessage.NOTIFY:
|
||||
if m[1] == 'traceroute':
|
||||
self._tr_handle_notify(m)
|
||||
else:
|
||||
print "invalid type", m[0]
|
||||
elif m[0] == RpcMessage.RESPONSE:
|
||||
pass
|
||||
elif m[0] == RpcMessage.NOTIFY:
|
||||
if m[1] == 'traceroute':
|
||||
self._tr_handle_notify(m)
|
||||
else:
|
||||
print "invalid type", m[0]
|
||||
|
||||
def serve(self):
|
||||
while True:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user