Permalink
Browse files

Fix more lint and Doxygen issues

  • Loading branch information...
peternewman committed Jan 2, 2019
1 parent 1ebc7f8 commit 979f431bbc69830227d54c4ecfcb99729c5f71be
Showing with 5 additions and 3 deletions.
  1. +2 −1 common/network/InterfacePicker.cpp
  2. +2 −1 common/network/InterfacePickerTest.cpp
  3. +1 −1 libs/acn/E131Node.h
@@ -159,7 +159,8 @@ bool InterfacePicker::ChooseInterface(
}

// Check that default_iface is actually in the picker list
vector<Interface>::const_iterator iter = std::find(interfaces.begin(), interfaces.end(), default_iface);
vector<Interface>::const_iterator iter = std::find(
interfaces.begin(), interfaces.end(), default_iface);
if (iter != interfaces.end()) {
*iface = *iter;
return true;
@@ -126,7 +126,8 @@ void InterfacePickerTest::testChooseInterface() {
Interface iface2_alt;
iface2_alt.name = "eth1";
iface2_alt.index = 2;
OLA_ASSERT_TRUE(IPV4Address::FromString("192.168.1.1", &iface2_alt.ip_address));
OLA_ASSERT_TRUE(IPV4Address::FromString("192.168.1.1",
&iface2_alt.ip_address));

// no interfaces
Interface iface;
@@ -81,7 +81,7 @@ class E131Node {
/**
* @brief Create a new E1.31 node.
* @param ss the SchedulerInterface to use.
* @param interface the Interface to prefer to listen on
* @param iface the Interface to prefer to listen on
* @param options the Options to use for the node.
* @param cid the CID to use, if not provided we generate one.
*/

0 comments on commit 979f431

Please sign in to comment.