Bugzilla – Attachment #1336: patch to add parenthesis for bug #1372
NS_LOG_FUNCTION (this << socket);
Ptr<Packet> packet;
Address from;
while (packet = socket->RecvFrom (from))
while ((packet = socket->RecvFrom (from)))
{
if (packet->GetSize () == 0)
{ //EOF
Ptr<Packet> packet=0;
if (Inet6SocketAddress::IsMatchingType (from))
Ptr<Packet> packet = 0;
if (InetSocketAddress::IsMatchingType (from))
if (packet->GetSize () > 0)