diff options
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r-- | ethernet_interface.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp index 39c12cf..bcb8f6c 100644 --- a/ethernet_interface.cpp +++ b/ethernet_interface.cpp @@ -324,8 +324,6 @@ bool EthernetInterface::dHCPEnabled(bool value) EthernetInterfaceIntf::dHCPEnabled(value); writeConfigurationFile(); - createIPAddressObjects(); - return value; } @@ -373,15 +371,12 @@ void EthernetInterface::createVLAN(VlanId id) // write the device file for the vlan interface. vlanIntf->writeDeviceFile(); + vlanIntf->writeConfigurationFile(); this->vlanInterfaces.emplace(vlanInterfaceName, std::move(vlanIntf)); // write the new vlan device entry to the configuration(network) file. writeConfigurationFile(); - - // Create the dbus object for the link local ipv6 address. - vlanInterfaces[vlanInterfaceName]->createIPAddressObjects(); - } // Need to merge the below function with the code which writes the |