diff options
Diffstat (limited to 'hicn-light')
-rw-r--r-- | hicn-light/src/io/udpListener.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hicn-light/src/io/udpListener.c b/hicn-light/src/io/udpListener.c index 1a16d6161..3264e70fa 100644 --- a/hicn-light/src/io/udpListener.c +++ b/hicn-light/src/io/udpListener.c @@ -319,7 +319,7 @@ static size_t _peekMessageLength(UdpListener *udp, int fd, if (res == messageHandler_GetIPHeaderLength(IPv6)) { packetLength = - messageHandler_GetTotalPacketLength((const uint8_t *)&fixedHeader); + messageHandler_GetTotalPacketLength(fixedHeader); } else { if (res < 0) { printf("error while readin packet\n"); |