From 358ceaaa7db41a720a41323173500b06ea7d7adc Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Mon, 10 Feb 2025 23:36:23 +0100 Subject: [PATCH] aqhome: add flags to socket to dump incoming data (needs latest gwen). --- aqhome/msg/endpoint_tty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/aqhome/msg/endpoint_tty.c b/aqhome/msg/endpoint_tty.c index ab60fdb..d423882 100644 --- a/aqhome/msg/endpoint_tty.c +++ b/aqhome/msg/endpoint_tty.c @@ -158,6 +158,7 @@ int AQH_TtyEndpoint_Connect(GWEN_MSG_ENDPOINT *ep) GWEN_Socket_free(sk); return GWEN_ERROR_IO; } + GWEN_Socket_AddFlags(sk, GWEN_SOCKET_FLAGS_DUMP_READ); GWEN_MsgEndpoint_SetSocket(ep, sk); GWEN_MsgEndpoint_SetState(ep, GWEN_MSG_ENDPOINT_STATE_CONNECTED);