mirror of
https://github.com/thelsing/knx.git
synced 2025-07-11 13:47:51 +02:00
fix bug in res tunnel feature
This commit is contained in:
parent
c1588e12d5
commit
d02d04f13c
@ -654,8 +654,7 @@ void IpDataLinkLayer::loopHandleConnectRequest(uint8_t* buffer, uint16_t length,
|
||||
tunnelResOptions[i] = (*(tunCtrlBytes+i) & 0x60) >> 5;
|
||||
}
|
||||
|
||||
|
||||
if(tunnelResActive[i]) // tunnel reserve feature active for this tunnel
|
||||
if(resTunActive && tunnelResActive[i]) // tunnel reserve feature active for this tunnel
|
||||
{
|
||||
#ifdef KNX_LOG_TUNNELING
|
||||
print("tunnel reserve feature active for this tunnel: ");
|
||||
|
@ -7,6 +7,11 @@ KnxIpTunnelConnection::KnxIpTunnelConnection()
|
||||
|
||||
void KnxIpTunnelConnection::Reset()
|
||||
{
|
||||
print("Close Tunnel-Connection[");
|
||||
print("?");
|
||||
print("], Channel: 0x");
|
||||
println(ChannelId, 16);
|
||||
|
||||
ChannelId = 0;
|
||||
IpAddress = 0;
|
||||
PortData = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user