commit | acab880b4eecf49f71e410baa0ed5eb49da5aa78 | [log] [tgz] |
---|---|---|
author | Steve DiBenedetto <dibenede@cs.colostate.edu> | Mon Mar 24 11:15:57 2014 -0600 |
committer | Steve DiBenedetto <dibenede@cs.colostate.edu> | Mon Mar 24 11:17:08 2014 -0600 |
tree | 6b14530edfac95357f96a10dc4232e7febe1c411 | |
parent | bc19b37cfcf93172dbe012fa8baa1daa055ded58 [diff] [blame] |
face: fix controller creation bug that dismisses nrd-0.1 as unsupported refs: #1398 Change-Id: Icde191b4e5528b15cda2a569248b7038162bd8c3
diff --git a/src/face.cpp b/src/face.cpp index 2773f07..a8b59e9 100644 --- a/src/face.cpp +++ b/src/face.cpp
@@ -90,7 +90,7 @@ { m_fwController = make_shared<nrd::Controller>(boost::ref(*this)); } - if (isSupportedNfdProtocol(protocol)) + else if (isSupportedNfdProtocol(protocol)) { m_fwController = make_shared<nfd::Controller>(boost::ref(*this)); }