[network] Bug Fix: Fix build error and change to ::std
@@ -43,8 +43,9 @@ impl Config {
/// Reads the local IPv4 address parameter from the underlying configuration file.
#[cfg(any(feature = "catnip-libos", feature = "catpowder-libos"))]
- pub fn local_ipv4_addr(&self) -> Ipv4Addr {
+ pub fn local_ipv4_addr(&self) -> ::std::net::Ipv4Addr {
// FIXME: this function should return a result.
+ use ::std::net::Ipv4Addr;
// FIXME: Change the follow key from "catnip" to "demikernel".
let local_ipv4_addr: Ipv4Addr = self.0["catnip"]["my_ipv4_addr"]
