View | Details | Raw Unified | Return to bug 1372
Collapse All | Expand All

(-)a/src/applications/model/packet-sink.cc (-1 / +1 lines)
 Lines 168-174    Link Here 
168
  NS_LOG_FUNCTION (this << socket);
168
  NS_LOG_FUNCTION (this << socket);
169
  Ptr<Packet> packet;
169
  Ptr<Packet> packet;
170
  Address from;
170
  Address from;
171
  while (packet = socket->RecvFrom (from))
171
  while ((packet = socket->RecvFrom (from)))
172
    {
172
    {
173
      if (packet->GetSize () == 0)
173
      if (packet->GetSize () == 0)
174
        { //EOF
174
        { //EOF
(-)a/src/applications/model/ping6.cc (-1 / +1 lines)
 Lines 231-237    Link Here 
231
231
232
  Ptr<Packet> packet=0;
232
  Ptr<Packet> packet=0;
233
  Address from;
233
  Address from;
234
  while (packet = socket->RecvFrom (from))
234
  while ((packet = socket->RecvFrom (from)))
235
    {
235
    {
236
      if (Inet6SocketAddress::IsMatchingType (from))
236
      if (Inet6SocketAddress::IsMatchingType (from))
237
        {
237
        {
(-)a/src/applications/model/radvd.cc (-1 / +1 lines)
 Lines 235-241    Link Here 
235
  Ptr<Packet> packet = 0;
235
  Ptr<Packet> packet = 0;
236
  Address from;
236
  Address from;
237
237
238
  while (packet = socket->RecvFrom (from))
238
  while ((packet = socket->RecvFrom (from)))
239
    {
239
    {
240
      if (Inet6SocketAddress::IsMatchingType (from))
240
      if (Inet6SocketAddress::IsMatchingType (from))
241
        {
241
        {
(-)a/src/applications/model/udp-echo-client.cc (-1 / +1 lines)
 Lines 328-334    Link Here 
328
  NS_LOG_FUNCTION (this << socket);
328
  NS_LOG_FUNCTION (this << socket);
329
  Ptr<Packet> packet;
329
  Ptr<Packet> packet;
330
  Address from;
330
  Address from;
331
  while (packet = socket->RecvFrom (from))
331
  while ((packet = socket->RecvFrom (from)))
332
    {
332
    {
333
      if (InetSocketAddress::IsMatchingType (from))
333
      if (InetSocketAddress::IsMatchingType (from))
334
        {
334
        {
(-)a/src/applications/model/udp-echo-server.cc (-1 / +1 lines)
 Lines 143-149    Link Here 
143
{
143
{
144
  Ptr<Packet> packet;
144
  Ptr<Packet> packet;
145
  Address from;
145
  Address from;
146
  while (packet = socket->RecvFrom (from))
146
  while ((packet = socket->RecvFrom (from)))
147
    {
147
    {
148
      if (InetSocketAddress::IsMatchingType (from))
148
      if (InetSocketAddress::IsMatchingType (from))
149
        {
149
        {
(-)a/src/applications/model/udp-server.cc (-1 / +1 lines)
 Lines 152-158    Link Here 
152
  NS_LOG_FUNCTION (this << socket);
152
  NS_LOG_FUNCTION (this << socket);
153
  Ptr<Packet> packet;
153
  Ptr<Packet> packet;
154
  Address from;
154
  Address from;
155
  while (packet = socket->RecvFrom (from))
155
  while ((packet = socket->RecvFrom (from)))
156
    {
156
    {
157
      if (packet->GetSize () > 0)
157
      if (packet->GetSize () > 0)
158
        {
158
        {

Return to bug 1372