applications: (fixes #2775) UdpClient packet size attribute size

This commit is contained in:
Tom Henderson
2018-05-29 19:51:04 -07:00
parent f8559f17a0
commit e3eeb3b5c8

View File

@@ -68,7 +68,7 @@ UdpClient::GetTypeId (void)
"Size of packets generated. The minimum packet size is 12 bytes which is the size of the header carrying the sequence number and the time stamp.",
UintegerValue (1024),
MakeUintegerAccessor (&UdpClient::m_size),
MakeUintegerChecker<uint32_t> (12,1500))
MakeUintegerChecker<uint32_t> (12,65507))
;
return tid;
}