Skip to content
Snippets Groups Projects
Commit a16b2c8d authored by Michael Tüxen's avatar Michael Tüxen
Browse files

Fix return value.

parent aa47d744
No related branches found
No related tags found
No related merge requests found
......@@ -725,7 +725,7 @@ static void test_tcp_udp_ipv4_packet_to_string(void)
parse_packet(packet, sizeof(data), ETHERTYPE_IP, IPPROTO_TCP,
&error);
#if DEBUG_LOGGING == 1
if (result != STATUS_OK) {
if (result != PACKET_OK) {
printf("error was: %s\n", error);
}
#endif
......@@ -820,7 +820,7 @@ static void test_tcp_udp_ipv6_packet_to_string(void)
parse_packet(packet, sizeof(data), ETHERTYPE_IPV6, IPPROTO_TCP,
&error);
#if DEBUG_LOGGING == 1
if (result != STATUS_OK) {
if (result != PACKET_OK) {
printf("error was: %s\n", error);
}
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment