summaryrefslogtreecommitdiffstats
path: root/vlan_interface.cpp
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@in.ibm.com>2017-08-13 09:41:58 +0530
committerPatrick Williams <patrick@stwcx.xyz>2017-08-13 11:32:59 +0000
commit6e8df63c13c9d0a343e8d14de61e2635df797efa (patch)
treec7de12a286f477b93ab365ea9bffef8a0cc3c81f /vlan_interface.cpp
parent56187e78088b7314e1cf0328ae92690a42a04152 (diff)
downloadphosphor-networkd-6e8df63c13c9d0a343e8d14de61e2635df797efa.tar.gz
phosphor-networkd-6e8df63c13c9d0a343e8d14de61e2635df797efa.zip
vlan:Minor Fixes
=>Get the dhcp value from the conf File for the vlan interface. =>Assign the mac address of the parnt interface to vlan interface. =>Create the ipv6 child ip objects once create the vlan interface. Change-Id: I1d73fb18f9d300cbdcf94c73f06df2ea4a1d019b Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'vlan_interface.cpp')
-rw-r--r--vlan_interface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/vlan_interface.cpp b/vlan_interface.cpp
index 88e3c10..acf66db 100644
--- a/vlan_interface.cpp
+++ b/vlan_interface.cpp
@@ -32,6 +32,7 @@ VlanInterface::VlanInterface(sdbusplus::bus::bus& bus,
{
id(vlanID);
VlanIface::interfaceName(EthernetInterface::interfaceName());
+ mACAddress(parentInterface.mACAddress());
Interfaces::emit_object_added();
}
OpenPOWER on IntegriCloud