net: add NetworkMonitorStub

refs #4024

Change-Id: I20da6f3351f51667b045987dc07e88ba814a4456
diff --git a/src/net/network-address.cpp b/src/net/network-address.cpp
index 148c3ec..748cd00 100644
--- a/src/net/network-address.cpp
+++ b/src/net/network-address.cpp
@@ -42,11 +42,18 @@
   return os;
 }
 
-NetworkAddress::NetworkAddress()
-  : m_family(AddressFamily::UNSPECIFIED)
-  , m_flags(0)
-  , m_scope(AddressScope::NOWHERE)
-  , m_prefixLength(0)
+NetworkAddress::NetworkAddress(AddressFamily family,
+                               boost::asio::ip::address ip,
+                               boost::asio::ip::address broadcast,
+                               uint8_t prefixLength,
+                               AddressScope scope,
+                               uint32_t flags)
+  : m_family(family)
+  , m_ip(ip)
+  , m_broadcast(broadcast)
+  , m_prefixLength(prefixLength)
+  , m_scope(scope)
+  , m_flags(flags)
 {
 }