make the sample code compile and link.
This commit is contained in:
1 parent
3eb2157400
commit
c106232f07
13 files changed
+141
-26
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user