diff --git a/gtests/net/packetdrill/run_packet.c b/gtests/net/packetdrill/run_packet.c index 5e1eb36482f8cf762d982ef7c8d9aa3ec1b6e3c6..f1b1c07059e215907c161cafa4807f63ac1caee5 100644 --- a/gtests/net/packetdrill/run_packet.c +++ b/gtests/net/packetdrill/run_packet.c @@ -1386,6 +1386,7 @@ static int verify_heartbeat_chunk(struct sctp_heartbeat_chunk *actual_chunk, length - sizeof(struct sctp_heartbeat_chunk)) == 0) { return STATUS_OK; } else { + asprintf(error, "live packet heartbeat info not as expected"); return STATUS_ERR; } } @@ -1408,6 +1409,7 @@ static int verify_heartbeat_ack_chunk(struct sctp_heartbeat_ack_chunk *actual_ch length - sizeof(struct sctp_heartbeat_ack_chunk)) == 0) { return STATUS_OK; } else { + asprintf(error, "live packet heartbeat info not as expected"); return STATUS_ERR; } }