From 0bdbc3f31aeb8a435e26c6ced44f181e712d66ef Mon Sep 17 00:00:00 2001 From: Ing-Dom Date: Mon, 3 Jun 2024 10:47:13 +0200 Subject: [PATCH] fix Tunnel Log Output --- src/knx/ip_data_link_layer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/knx/ip_data_link_layer.cpp b/src/knx/ip_data_link_layer.cpp index 60db482a..3479b717 100644 --- a/src/knx/ip_data_link_layer.cpp +++ b/src/knx/ip_data_link_layer.cpp @@ -629,9 +629,9 @@ void IpDataLinkLayer::loopHandleConnectRequest(uint8_t* buffer, uint16_t length, if(resTunActive) println("Reserved Tunnel Feature active"); if(tunCtrlBytes) - printHex("tunCtrlBytes", tunCtrlBytes, 4); + printHex("tunCtrlBytes", tunCtrlBytes, KNX_TUNNELING); if(tunCtrlIp) - printHex("tunCtrlIp", tunCtrlIp, 16); + printHex("tunCtrlIp", tunCtrlIp, KNX_TUNNELING*4); #endif // check if there is a reserved tunnel for the source