face: connect to Transport during construction
This allows DummyClientFace to receive packets without sending.
refs #2318
Change-Id: I7451d2c4a873e4680cfb380c9029b1edcd4af7fb
diff --git a/src/face.cpp b/src/face.cpp
index 8535924..57f9605 100644
--- a/src/face.cpp
+++ b/src/face.cpp
@@ -150,6 +150,7 @@
m_impl->m_pitTimeoutCheckTimer = make_shared<monotonic_deadline_timer>(ref(m_ioService));
m_impl->m_processEventsTimeoutTimer = make_shared<monotonic_deadline_timer>(ref(m_ioService));
+ m_impl->ensureConnected(false);
std::string protocol = "nrd-0.1";