Skip to content
Snippets Groups Projects
Commit 385fc398 authored by g0dil's avatar g0dil
Browse files

Packets/DefaultBundle: Adjust type names (after removing unneeded types from...

Packets/DefaultBundle: Adjust type names (after removing unneeded types from the public interface in previous commit)
parent 01889063
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@
BOOST_AUTO_UNIT_TEST(ethernetPacket_packet)
{
senf::EthernetPacket::byte data[] =
senf::PacketData::byte data[] =
{ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, // destination MAC
0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, // source MAC
0x10, 0x11 }; // EtherType
......
......@@ -89,7 +89,7 @@ BOOST_AUTO_UNIT_TEST(ipv6Extension_Fragment_packet)
BOOST_CHECK( u.next().is<senf::DataPacket>() );
senf::DataPacket d (u.next().as<senf::DataPacket>());
senf::Packet::iterator i (u.next().data().begin());
senf::PacketData::iterator i (u.next().data().begin());
BOOST_CHECK_EQUAL( d.size(), 4u );
BOOST_CHECK_EQUAL( d.data()[0], 0x11 );
}
......
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