Init socket subsystem before parsing filters
Parsing a filter might be the first thing we do so we need to
make sure the socket subsystem is running so that we can look
up names.
diff --git a/common/network/TcpSocket.cxx b/common/network/TcpSocket.cxx
index 5a8f75d..6561f3d 100644
--- a/common/network/TcpSocket.cxx
+++ b/common/network/TcpSocket.cxx
@@ -753,6 +753,8 @@
bool prefix_specified;
int family;
+ initSockets();
+
prefix_specified = rfb::strSplit(&p[1], '/', &addr.buf, &pref.buf);
if (addr.buf[0] == '\0') {
// Match any address