ethernet_interface: Remove DHCP from constructor
It should be set or configured just like all other parameters.
Change-Id: Ic93de4e80b4da0de2e97b9655c424fa55a6844bf
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/test/mock_ethernet_interface.hpp b/test/mock_ethernet_interface.hpp
index a0358ed..5e21170 100644
--- a/test/mock_ethernet_interface.hpp
+++ b/test/mock_ethernet_interface.hpp
@@ -13,9 +13,9 @@
{
public:
MockEthernetInterface(sdbusplus::bus_t& bus, const std::string& objPath,
- const config::Parser& config, DHCPConf dhcpEnabled,
- Manager& parent, bool emitSignal) :
- EthernetInterface(bus, objPath, config, dhcpEnabled, parent, emitSignal,
+ const config::Parser& config, Manager& parent,
+ bool emitSignal) :
+ EthernetInterface(bus, objPath, config, parent, emitSignal,
/*nicEnabled=*/true)
{
}