Keep the old behavior.

Signed-off-by: FUJITA Tomonori <fujita.tomon...@lab.ntt.co.jp>
---
 ryu/cmd/manager.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/ryu/cmd/manager.py b/ryu/cmd/manager.py
index 82dc60a..a2912e5 100755
--- a/ryu/cmd/manager.py
+++ b/ryu/cmd/manager.py
@@ -62,6 +62,9 @@ def main():
     log.init_log()
 
     app_lists = CONF.app_lists + CONF.app
+    # keep old behaivor, run ofp if no application is specified.
+    if not app_lists:
+        app_lists = ['ryu.controller.ofp_handler']
 
     app_mgr = AppManager.get_instance()
     app_mgr.load_apps(app_lists)
-- 
1.8.3.4 (Apple Git-47)


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to