From a7b633f4c8b4d7245c4411cdf249f6e0809fb60b Mon Sep 17 00:00:00 2001 From: Alberto Compagno Date: Thu, 21 Feb 2019 11:40:21 +0100 Subject: [HICN-75] fixed forwarding issue in udp face and improved packet tracing to show the hicn name Change-Id: I74426c541324d66c2d1b0353afcca17c5aedceba Signed-off-by: Alberto Compagno --- hicn-plugin/src/faces/ip/face_ip_node.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hicn-plugin/src/faces/ip/face_ip_node.c') diff --git a/hicn-plugin/src/faces/ip/face_ip_node.c b/hicn-plugin/src/faces/ip/face_ip_node.c index f0408860e..7b32f7355 100644 --- a/hicn-plugin/src/faces/ip/face_ip_node.c +++ b/hicn-plugin/src/faces/ip/face_ip_node.c @@ -56,7 +56,7 @@ typedef struct u32 next_index; u32 sw_if_index; u8 pkt_type; - u8 packet_data[128 - 1 * sizeof (u32)]; + u8 packet_data[60]; } hicn_face_ip4_input_trace_t; @@ -74,7 +74,7 @@ typedef struct u32 next_index; u32 sw_if_index; u8 pkt_type; - u8 packet_data[128 - 1 * sizeof (u32)]; + u8 packet_data[60]; } hicn_face_ip6_input_trace_t; @@ -483,7 +483,7 @@ typedef struct u32 next_index; u32 sw_if_index; u8 pkt_type; - u8 packet_data[128 - 1 * sizeof (u32)]; + u8 packet_data[60]; } hicn_face_ip4_output_trace_t; @@ -493,7 +493,7 @@ typedef struct u32 next_index; u32 sw_if_index; u8 pkt_type; - u8 packet_data[128 - 1 * sizeof (u32)]; + u8 packet_data[60]; } hicn_face_ip6_output_trace_t; -- cgit 1.2.3-korg