Enable zeroconf while writing configuration file
Resolves openbmc/openbmc#2265
Change-Id: Idf8200fa92d82ee8de4f23e27a2816efae356ea0
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
diff --git a/network_config.cpp b/network_config.cpp
index 050be0a..d0aa2b4 100644
--- a/network_config.cpp
+++ b/network_config.cpp
@@ -16,7 +16,7 @@
filestream.open(filename);
filestream << "[Match]\nName=" << interface <<
- "\n[Network]\nDHCP=true\n"
+ "\n[Network]\nDHCP=true\nLinkLocalAddressing=yes\n"
"[DHCP]\nClientIdentifier=mac\n";
filestream.close();
}