use new sdbus++ camelcase
Change I17a8d7479556596a3cf252b3f4eae9c8df547189 will change
how sdbus++ generates names which start with an acronym.
Prepare for this by keying off the SDBUSPP_NEW_CAMELCASE
define to use the new format.
Changes:
dHCPEnabled -> dhcpEnabled
dNSEnabled -> dnsEnabled
iP -> ip
iPAddress -> ipAddress
iPv6AcceptRA -> ipv6AcceptRA
mACAddress -> macAddress
nICEnabled -> nicEnabled
nTPEnabled -> ntpEnabled
nTPServers -> ntpServers
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I35da2c4f8fc33262d6d096e499220419ebe4d00d
diff --git a/vlan_interface.cpp b/vlan_interface.cpp
index 7762adc..4920c77 100644
--- a/vlan_interface.cpp
+++ b/vlan_interface.cpp
@@ -23,7 +23,7 @@
VlanInterface::VlanInterface(sdbusplus::bus::bus& bus,
const std::string& objPath, DHCPConf dhcpEnabled,
- bool nICEnabled, uint32_t vlanID,
+ bool nicEnabled, uint32_t vlanID,
EthernetInterface& intf, Manager& parent) :
VlanIface(bus, objPath.c_str()),
DeleteIface(bus, objPath.c_str()),
@@ -31,14 +31,14 @@
parentInterface(intf)
{
id(vlanID);
- EthernetInterfaceIntf::nICEnabled(nICEnabled);
+ EthernetInterfaceIntf::nicEnabled(nicEnabled);
VlanIface::interfaceName(EthernetInterface::interfaceName());
- MacAddressIntf::mACAddress(parentInterface.mACAddress());
+ MacAddressIntf::macAddress(parentInterface.macAddress());
emit_object_added();
}
-std::string VlanInterface::mACAddress(std::string)
+std::string VlanInterface::macAddress(std::string)
{
log<level::ERR>("Tried to set MAC address on VLAN");
elog<InternalFailure>();