make the sample code compile and link.

This commit is contained in:
Mathieu Lacage committed 2007-02-12 19:28:48 +01:00
1 parent 3eb2157400
commit c106232f07
13 files changed
+141 -26

No files matched your search

+2 -2
View File
@@ -18,7 +18,7 @@
*
* Author: Mathieu Lacage <mathieu.lacage@sophia.inria.fr>
*/
#include "chunk-utils.h"
#include "header-utils.h"
namespace ns3 {
@@ -30,7 +30,7 @@ void WriteTo (Buffer::Iterator &i, MacAddress ad)
{
uint8_t mac[MacAddress::MAX_LEN];
ad.Peek (mac);
i.Write (mac, ad.GetLen ());
i.Write (mac, ad.GetLength ());
}
void ReadFrom (Buffer::Iterator &i, Ipv4Address &ad)