Packets: Extend finalize() API
[senf.git] / Packets / DefaultBundle / UDPPacket.test.cc
index 2ad0cbe..6df9409 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institute for Open Communication Systems (FOKUS) 
-// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
@@ -73,7 +73,7 @@ BOOST_AUTO_UNIT_TEST(udpPacket_create)
     // validates, since the checksum is 0 and thus ignored !
     BOOST_CHECK( udp->validateChecksum() );
 
-    ip.finalize();
+    ip.finalizeAll();
     BOOST_CHECK_EQUAL_COLLECTIONS( data, data+sizeof(data),
                                    ip.data().begin(), ip.data().end() );
     BOOST_CHECK( udp->validateChecksum() );