diff options
author | Ratan Gupta <ratagupt@in.ibm.com> | 2017-12-21 08:20:25 +0530 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-01-24 13:53:44 +0000 |
commit | e962941dec307fbf7048eda52c04c5c494c6967d (patch) | |
tree | e111ca93835863897de08f7d3a9d1b849e6b49a7 /ethernet_interface.cpp | |
parent | 9481230bc7ba5c186bde99719bf5e8a60cac45a5 (diff) | |
download | phosphor-networkd-e962941dec307fbf7048eda52c04c5c494c6967d.tar.gz phosphor-networkd-e962941dec307fbf7048eda52c04c5c494c6967d.zip |
Don't handle the ipv6 routing advertisement message
In ipv6 network where ipv6 router is there which keeps advertising
the router prefix, as part of handling this message BMC keeps adding the
new IP address on the interface which is leading to refresh the
network objects periodically.
This fix stops accepting the router advertisement messaage.
Resolves openbmc/openbmc#2739
Change-Id: I0a4068b5419133a25a2ea3f769f730e73860da50
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Diffstat (limited to 'ethernet_interface.cpp')
-rw-r--r-- | ethernet_interface.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ethernet_interface.cpp b/ethernet_interface.cpp index f58c752..0721eed 100644 --- a/ethernet_interface.cpp +++ b/ethernet_interface.cpp @@ -554,6 +554,7 @@ void EthernetInterface::writeConfigurationFile() // write the network section stream << "[" << "Network" << "]\n"; stream << "LinkLocalAddressing=yes\n"; + stream << "IPv6AcceptRA=false\n"; // Add the VLAN entry for (const auto& intf: vlanInterfaces) |