Signed-off-by: Isaku Yamahata <[email protected]>
---
Changes v2 -> v3:
- new patch
---
 ryu/app/gre_tunnel.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ryu/app/gre_tunnel.py b/ryu/app/gre_tunnel.py
index 903d6d2..2302aed 100644
--- a/ryu/app/gre_tunnel.py
+++ b/ryu/app/gre_tunnel.py
@@ -231,7 +231,7 @@ class PortSet(app_manager.RyuApp):
         network_id = ev.network_id
         for (dpid, port_no) in self.nw.list_ports(network_id):
             self._vm_port_mac_handler(dpid, port_no, network_id, False)
-        if self.nw.has_networks(network_id):
+        if self.nw.has_network(network_id):
             self._tunnel_key_del(ev.tunnel_key)
 
     @handler.set_ev_cls(tunnels.EventTunnelPort)
-- 
1.7.10.4


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to