aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-02-04 16:43:27 +0100
committerAngelo Mantellini <manangel@cisco.com>2019-02-04 16:43:27 +0100
commit030bb23078a3ecb4dc48e0af0da4ad9d6d10ff7e (patch)
treed1bd89d6a74d47edaf297b9ea75fb65758b600ee /hicn-light
parente18973968f360e7750b87d2713033960565d87b0 (diff)
[HICN-28] Error in hicn-light with udp tunnel
Change-Id: Ia3efb22ec521f7a47636bc5e3da2f88601fbeec2 Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light')
-rw-r--r--hicn-light/src/io/udpListener.c2
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");