src/test/global-routing-test-suite.cc
changeset 7736 d3c1e0eab341
parent 7256 b04ba6772f8c
child 8966 060dba23e9bb
--- a/src/test/global-routing-test-suite.cc	Wed Feb 22 13:56:44 2012 +0000
+++ b/src/test/global-routing-test-suite.cc	Wed Feb 22 13:58:51 2012 +0000
@@ -93,7 +93,7 @@
 {
   Ptr<Packet> packet;
   Address from;
-  while (packet = socket->RecvFrom (from))
+  while ((packet = socket->RecvFrom (from)))
     {
       if (packet->GetSize () == 0)
         { //EOF