diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-02-04 16:43:27 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-02-04 16:43:27 +0100 |
commit | 030bb23078a3ecb4dc48e0af0da4ad9d6d10ff7e (patch) | |
tree | d1bd89d6a74d47edaf297b9ea75fb65758b600ee | |
parent | e18973968f360e7750b87d2713033960565d87b0 (diff) |
[HICN-28] Error in hicn-light with udp tunnel
Change-Id: Ia3efb22ec521f7a47636bc5e3da2f88601fbeec2
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
-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"); |