Packets/80221Bundle/MIHPacket: fixed unit test (see Rev. 1439)
tho [Thu, 24 Sep 2009 13:13:42 +0000 (13:13 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1443 270642c3-0616-0410-b53a-bc976706d245

senf/Packets/80221Bundle/MIHPacket.test.cc

index 8fc9720..0e74234 100644 (file)
@@ -62,7 +62,7 @@ BOOST_AUTO_UNIT_TEST(MIHPacket_create_eth)
     EthernetPacket eth (EthernetPacket::create());
     MIHPacket mihPacket (MIHPacket::createAfter(eth));
     eth.finalizeAll();
-    BOOST_CHECK_EQUAL( eth->type_length(), 0x86dd);
+    BOOST_CHECK_EQUAL( eth->type_length(), 0x8917);
     std::ostringstream oss (std::ostringstream::out);
     SENF_CHECK_NO_THROW( eth.dump( oss));
 }