fixed bug 1283: PacketSocket::SendTo should return number of bytes

This commit is contained in:
Nicola Baldo
2012-03-07 17:14:41 +01:00
parent ab147a1ffa
commit 45c6e9c9d0

View File

@@ -362,7 +362,7 @@ PacketSocket::SendTo (Ptr<Packet> p, uint32_t flags, const Address &address)
}
else
{
return 0;
return p->GetSize ();
}
}