diff --git a/lib/cwmp.ts b/lib/cwmp.ts index c7f583c..2125b6d 100644 --- a/lib/cwmp.ts +++ b/lib/cwmp.ts @@ -1570,8 +1570,10 @@ async function listenerAsync( return e; } ); - if (d) - debug.outgoingHttpResponse(httpResponse, sessionContext.deviceId, _body); + if (d) { + debug.incomingHttpRequest(httpRequest, null, bodyStr); + debug.outgoingHttpResponse(httpResponse, null, _body); + } httpResponse.end(_body); return; }