fixed bug 1283: PacketSocket::SendTo should return number of bytes
This commit is contained in:
@@ -362,7 +362,7 @@ PacketSocket::SendTo (Ptr<Packet> p, uint32_t flags, const Address &address)
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
return p->GetSize ();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user