fix the regression due to e45f382e51

OFcontroller is not started due to:

e45f382e51
Author: Isaku Yamahata <yamahata@valinux.co.jp>
Date:   Fri Nov 22 16:45:59 2013 +0900

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
FUJITA Tomonori 2013-11-22 22:04:16 -08:00
parent cc70e9f9f8
commit cafb17781b

View File

@ -325,6 +325,6 @@ def datapath_connection_factory(socket, address):
def start_service(app_mgr): def start_service(app_mgr):
for app in app_mgr.applications: for app in app_mgr.applications.values():
if app.endswith('ofp_handler'): if app.__class__.__name__.endswith('OFPHandler'):
return OpenFlowController() return OpenFlowController()