Implement EthernetInterface
Change-Id: I8d57ee3565e43e6e4463286c220dd54d72da049f
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/ethernet_interface.hpp b/ethernet_interface.hpp
index 5c66834..4c75f29 100644
--- a/ethernet_interface.hpp
+++ b/ethernet_interface.hpp
@@ -18,8 +18,8 @@
using ServerObject = typename sdbusplus::server::object::object<T>;
using EthernetIface =
- sdbusplus::server::object::object<
- sdbusplus::xyz::openbmc_project::Network::server::EthernetInterface>;
+ sdbusplus::server::object::object <
+ sdbusplus::xyz::openbmc_project::Network::server::EthernetInterface >;
} // namespace details
@@ -51,8 +51,7 @@
* @param[in] dhcpEnabled - is dhcp enabled(true/false).
*/
EthernetInterface(sdbusplus::bus::bus& bus,
- const char* objPath,
- const std::string& intfName,
+ const std::string& objPath,
bool dhcpEnabled);