rtnetlink_server: Don't refresh for addresses
We can dynamically add and remove addresses without having to recreate
all of the objects.
Change-Id: Ic510263cc6ba5d2ec228ce94fa83cf5fe4664c6d
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/ethernet_interface.hpp b/src/ethernet_interface.hpp
index 7d14385..f14e069 100644
--- a/src/ethernet_interface.hpp
+++ b/src/ethernet_interface.hpp
@@ -100,6 +100,8 @@
/** @brief Persistent map of Neighbor dbus objects and their names */
std::unordered_map<InAddrAny, std::unique_ptr<Neighbor>> staticNeighbors;
+ void addAddr(const AddressInfo& info);
+
/** @brief Updates the interface information based on new InterfaceInfo */
void updateInfo(const system::InterfaceInfo& info);