summaryrefslogtreecommitdiffstats
path: root/ethernet_interface.cpp
diff options
context:
space:
mode:
authorNagaraju Goruganti <ngorugan@in.ibm.com>2017-09-21 07:40:26 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-10-12 14:46:11 +0000
commit24afe362dd2684998d5a9a681ddf6dbda0054f2b (patch)
tree2128af70f79b827e9170121b41bbb861dfb426c6 /ethernet_interface.cpp
parent66b974d2d679ece3aa67032bbc13ac166702cede (diff)
downloadphosphor-networkd-24afe362dd2684998d5a9a681ddf6dbda0054f2b.tar.gz
phosphor-networkd-24afe362dd2684998d5a9a681ddf6dbda0054f2b.zip
Enable zeroconf while writing configuration file
Resolves openbmc/openbmc#2265 Change-Id: Idf8200fa92d82ee8de4f23e27a2816efae356ea0 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r--ethernet_interface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp
index 5a7c61c..15fc473 100644
--- a/ethernet_interface.cpp
+++ b/ethernet_interface.cpp
@@ -487,6 +487,7 @@ void EthernetInterface::writeConfigurationFile()
// write the network section
stream << "[" << "Network" << "]\n";
+ stream << "LinkLocalAddressing=yes\n";
// Add the VLAN entry
for (const auto& intf: vlanInterfaces)
OpenPOWER on IntegriCloud