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.hpp b/src/vlan_interface.hpp
index 2d8baaa..09b9bb0 100644
--- a/src/vlan_interface.hpp
+++ b/src/vlan_interface.hpp
@@ -41,7 +41,6 @@
* @param[in] bus - Bus to attach to.
* @param[in] objPath - Path to attach at.
* @param[in] config - The parsed configuation file.
- * @param[in] dhcpEnabled - DHCP enable value.
* @param[in] vlanID - vlan identifier.
* @param[in] intf - ethernet interface object.
* @param[in] manager - network manager object.
@@ -49,9 +48,8 @@
* This constructor is called during loading the VLAN Interface
*/
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);
/** @brief Delete this d-bus object.
*/