diff options
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r-- | ethernet_interface.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp index 999613d..154efcb 100644 --- a/ethernet_interface.cpp +++ b/ethernet_interface.cpp @@ -424,7 +424,7 @@ void EthernetInterface::loadVLAN(VlanId id) std::move(vlanIntf)); } -void EthernetInterface::createVLAN(VlanId id) +ObjectPath EthernetInterface::createVLAN(VlanId id) { std::string vlanInterfaceName = interfaceName() + "." + std::to_string(id); std::string path = objPath; @@ -439,6 +439,8 @@ void EthernetInterface::createVLAN(VlanId id) this->vlanInterfaces.emplace(vlanInterfaceName, std::move(vlanIntf)); // write the new vlan device entry to the configuration(network) file. manager.writeToConfigurationFile(); + + return path; } ServerList EthernetInterface::getNTPServersFromConf() |