diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-06-15 08:39:15 +0530 |
---|---|---|
committer | Ratan Gupta <ratagupt@in.ibm.com> | 2017-06-21 14:50:47 +0530 |
commit | 82e1ef999fc207b0f307f4161e95d41d3d5f014a (patch) | |
tree | 39bec888fc6ccec9c4cd249700104d147fb15e55 /ethernet_interface.cpp | |
parent | b46497fe9c2ec0fe7ed1784ee9a94b386ce6c403 (diff) | |
download | phosphor-networkd-82e1ef999fc207b0f307f4161e95d41d3d5f014a.tar.gz phosphor-networkd-82e1ef999fc207b0f307f4161e95d41d3d5f014a.zip |
Implement system configuration Dbus interface
Change-Id: I713175e946af47990afcead00558ee4b90cbce8e
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r-- | ethernet_interface.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp index c824919..1f36815 100644 --- a/ethernet_interface.cpp +++ b/ethernet_interface.cpp @@ -89,11 +89,6 @@ void EthernetInterface::setAddressList(const AddrList& addrs) gateway))); } - // TODO:- will move the default gateway to conf object - // once we implement that. - - // TODO: openbmc/openbmc#1295 - manager.defaultGateway = routingTable.getDefaultGateway(); } void EthernetInterface::iP(IP::Protocol protType, @@ -104,6 +99,8 @@ void EthernetInterface::iP(IP::Protocol protType, if (dHCPEnabled()) { + log<level::INFO>("DHCP enabled on the interface"), + entry("INTERFACE=%s",interfaceName()); return; } @@ -277,7 +274,6 @@ std::string EthernetInterface::generateObjectPath(IP::Protocol addressType, objectPath /= type; objectPath /= generateId(ipaddress, prefixLength, gateway); return objectPath.string(); - } }//namespace network |