Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
 ryu/app/ofctl/service.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/ryu/app/ofctl/service.py b/ryu/app/ofctl/service.py
index 119e9b3..3e24170 100644
--- a/ryu/app/ofctl/service.py
+++ b/ryu/app/ofctl/service.py
@@ -124,4 +124,7 @@ class OfctlService(app_manager.RyuApp):
         except KeyError:
             self.logger.error('unknown dpid %s' % (datapath.id,))
             return
-        si.results[xid] = ev.msg
+        try:
+            si.results[msg.xid] = ev.msg
+        except KeyError:
+            self.logger.error('unknown error xid %s' % (msg.xid,))
-- 
1.8.3.1


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to