From fd005b7eaf0dd202de7f3c64c250076f925133a6 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Sun, 13 Dec 2020 15:49:08 -0800 Subject: [PATCH] Config::expand() SockAttach May be called before context creation --- src/config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.cpp b/src/config.cpp index 50ada95..c0f83ac 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -124,6 +124,7 @@ cleaner make_cleaner(Fn&& fn) { void expandAddrList(const std::vector& ifaces, std::vector& addrs) { + SockAttach attach; evsocket dummy(AF_INET, SOCK_DGRAM, 0); std::vector bcasts;