Config::expand() SockAttach

May be called before context creation
This commit is contained in:
Michael Davidsaver
2020-12-13 15:49:08 -08:00
parent 6c8b2477f1
commit fd005b7eaf
+1
View File
@@ -124,6 +124,7 @@ cleaner<Fn> make_cleaner(Fn&& fn) {
void expandAddrList(const std::vector<std::string>& ifaces,
std::vector<std::string>& addrs)
{
SockAttach attach;
evsocket dummy(AF_INET, SOCK_DGRAM, 0);
std::vector<std::string> bcasts;