face: close idle Datagram faces
refs #1281
Change-Id: Ifc766964f653d3991b55d76361c8b9bbe5d630cf
diff --git a/daemon/face/udp-face.hpp b/daemon/face/udp-face.hpp
index 126419f..038c7c3 100644
--- a/daemon/face/udp-face.hpp
+++ b/daemon/face/udp-face.hpp
@@ -21,8 +21,8 @@
public:
typedef boost::asio::ip::udp protocol;
- explicit
- UdpFace(const shared_ptr<protocol::socket>& socket);
+ UdpFace(const shared_ptr<protocol::socket>& socket,
+ bool isPermanent);
//@todo if needed by other datagramFaces, it could be moved to datagram-face.hpp
/**