unittests/lib/packet_parser_test.c in trema-0.1.3.2 vs unittests/lib/packet_parser_test.c in trema-0.2.0
- old
+ new
@@ -563,10 +563,10 @@
assert_int_equal( packet_info->l2_payload_length, 32 );
assert_int_equal( packet_info->igmp_type, IGMP_MEMBERSHIP_QUERY );
assert_int_equal( packet_info->igmp_code, 100 );
- assert_int_equal( packet_info->igmp_cksum, 0xee9b );
+ assert_int_equal( packet_info->igmp_checksum, 0xee9b );
assert_int_equal( packet_info->igmp_group, 0 );
assert_true( packet_type_igmp_membership_query( buffer ) );
free_buffer( buffer );