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/src/vlan_interface.cpp b/src/vlan_interface.cpp
index 1ea6a17..129cbf7 100644
--- a/src/vlan_interface.cpp
+++ b/src/vlan_interface.cpp
@@ -20,13 +20,12 @@
using namespace sdbusplus::xyz::openbmc_project::Common::Error;
VlanInterface::VlanInterface(sdbusplus::bus_t& bus, const std::string& objPath,
- const config::Parser& config, DHCPConf dhcpEnabled,
- bool nicEnabled, uint32_t vlanID,
- EthernetInterface& intf, Manager& parent) :
+ const config::Parser& config, bool nicEnabled,
+ uint32_t vlanID, EthernetInterface& intf,
+ Manager& parent) :
VlanIface(bus, objPath.c_str()),
DeleteIface(bus, objPath.c_str()),
- EthernetInterface(bus, objPath, config, dhcpEnabled, parent, true,
- nicEnabled),
+ EthernetInterface(bus, objPath, config, parent, true, nicEnabled),
parentInterface(intf)
{
id(vlanID);