Refresh the interface objects if DHCP mode changes
Create the ipaddress objects for the ethernet interface
whose DHCP is enabled.
Resolves openbmc/openbmc#1295
Change-Id: Id5ad35f1d51f2bf80c4e2b573e7bd38489370411
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/network_manager.cpp b/network_manager.cpp
index e1bfa41..0607b0e 100644
--- a/network_manager.cpp
+++ b/network_manager.cpp
@@ -63,8 +63,8 @@
dhcp,
*this)));
- interfaces[intfInfo.first]->setAddressList(intfInfo.second);
}
+
}
void Manager::createChildObjects()