types: Migrate to stdplus ip

Change-Id: I777aa701204b0c4dbe5f0088cc2e6a4deb4f5d15
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/src/ipaddress.hpp b/src/ipaddress.hpp
index 1785e06..13ab94f 100644
--- a/src/ipaddress.hpp
+++ b/src/ipaddress.hpp
@@ -40,8 +40,8 @@
      *  @param[in] origin - origin of ipaddress(dhcp/static/SLAAC/LinkLocal).
      */
     IPAddress(sdbusplus::bus_t& bus, std::string_view objRoot,
-              stdplus::PinnedRef<EthernetInterface> parent, IfAddr addr,
-              IP::AddressOrigin origin);
+              stdplus::PinnedRef<EthernetInterface> parent,
+              stdplus::SubnetAny addr, IP::AddressOrigin origin);
 
     std::string address(std::string ipAddress) override;
     uint8_t prefixLength(uint8_t) override;
@@ -72,8 +72,8 @@
     sdbusplus::message::object_path objPath;
 
     IPAddress(sdbusplus::bus_t& bus, sdbusplus::message::object_path objPath,
-              stdplus::PinnedRef<EthernetInterface> parent, IfAddr addr,
-              IP::AddressOrigin origin);
+              stdplus::PinnedRef<EthernetInterface> parent,
+              stdplus::SubnetAny addr, IP::AddressOrigin origin);
 };
 
 } // namespace network