diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-04-14 16:32:09 +0530 |
---|---|---|
committer | Ratan Gupta <ratagupt@in.ibm.com> | 2017-04-27 10:00:06 +0530 |
commit | 91a99ccb7ddb8ec0ec19f92d54bfae48e21e807e (patch) | |
tree | 5a603fe330266f2d14efb6b3058897cf7a288152 /ethernet_interface.hpp | |
parent | 8c83493562a4d8b6486b9d557a971674010015a4 (diff) | |
download | phosphor-networkd-91a99ccb7ddb8ec0ec19f92d54bfae48e21e807e.tar.gz phosphor-networkd-91a99ccb7ddb8ec0ec19f92d54bfae48e21e807e.zip |
Implement EthernetInterface
Change-Id: I8d57ee3565e43e6e4463286c220dd54d72da049f
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.hpp')
-rw-r--r-- | ethernet_interface.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
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 @@ template <typename T> 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 @@ class EthernetInterface : public details::EthernetIface * @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); |