cache getifaddrs - bsd

This commit is contained in:
travis laduke 2023-05-17 07:16:26 -07:00 committed by Travis LaDuke
commit 60d2138f30
2 changed files with 13 additions and 1 deletions

View file

@ -71,6 +71,8 @@ private:
int _fd;
int _shutdownSignalPipe[2];
volatile bool _enabled;
mutable std::vector<InetAddress> _ifaddrs;
mutable uint64_t _lastIfAddrsUpdate;
};
} // namespace ZeroTier