X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2Fextra-tests%2FAllBundles.test.cc;h=cd031fc07ce5959579f08d8fb9de6c062f0f767b;hb=9bc655e14d2d8c204ed835896cb51e42d49bd68f;hp=7398028d0631f3091f1b10acdde4531322f51042;hpb=51eaceeb2936c1e6a8fe8cc3c2dfdf28013b68f9;p=senf.git diff --git a/senf/Packets/extra-tests/AllBundles.test.cc b/senf/Packets/extra-tests/AllBundles.test.cc index 7398028..cd031fc 100644 --- a/senf/Packets/extra-tests/AllBundles.test.cc +++ b/senf/Packets/extra-tests/AllBundles.test.cc @@ -33,22 +33,22 @@ #define prefix_ ///////////////////////////////cc.p//////////////////////////////////////// -BOOST_AUTO_UNIT_TEST(packetLink) +SENF_AUTO_UNIT_TEST(packetLink) { // This test shall test, if there is now duplicated packet registration in AllBundles. // The test will fail at the start with an assertion error in this case. - + boost::uint8_t data[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, // source mac 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 };