X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2FDefaultBundle%2Fextra_tests%2FPacketLink.test.cc;h=fa0f2906f30c227af5fda5fc0692cea0d8d32e0f;hb=9bc655e14d2d8c204ed835896cb51e42d49bd68f;hp=4cdf0e81a8ddf6e05472b73b6f26ed3966755bd4;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc b/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc index 4cdf0e8..fa0f290 100644 --- a/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc +++ b/senf/Packets/DefaultBundle/extra_tests/PacketLink.test.cc @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2008 +// Copyright (C) 2008 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -36,7 +36,7 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -BOOST_AUTO_UNIT_TEST(packetLink) +SENF_AUTO_UNIT_TEST(packetLink) { // This test shall test, whether referencing a packet (in this case IPv6Packet) as template // argument correctly includes the corresponding object file when linking @@ -45,13 +45,13 @@ BOOST_AUTO_UNIT_TEST(packetLink) 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, // target mac 0x86, 0xdd, // ethertype - 0x60, 0x00, 0x00, 0x00, // IP version, class, + 0x60, 0x00, 0x00, 0x00, // IP version, class, // flow label 0x00, 0x00, // payload length 0x3B, // no next header 0x10, // hop limit 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // source ip - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // target ip 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02 };