diff --git a/llarp/net/address_info.hpp b/llarp/net/address_info.hpp index b528439e3..85087fbda 100644 --- a/llarp/net/address_info.hpp +++ b/llarp/net/address_info.hpp @@ -23,7 +23,7 @@ namespace llarp uint16_t rank; std::string dialect; llarp::PubKey pubkey; - in6_addr ip = {0}; + in6_addr ip = {}; uint16_t port; uint64_t version = LLARP_PROTO_VERSION; diff --git a/llarp/net/exit_info.hpp b/llarp/net/exit_info.hpp index 9a69d88ff..d8ba133d0 100644 --- a/llarp/net/exit_info.hpp +++ b/llarp/net/exit_info.hpp @@ -18,8 +18,8 @@ namespace llarp { struct ExitInfo { - in6_addr address = {0}; - in6_addr netmask = {0}; + in6_addr address = {}; + in6_addr netmask = {}; PubKey pubkey; uint64_t version = LLARP_PROTO_VERSION;