diff options
Diffstat (limited to 'src/cpu/testers/networktest')
-rw-r--r-- | src/cpu/testers/networktest/networktest.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cpu/testers/networktest/networktest.cc b/src/cpu/testers/networktest/networktest.cc index 45a414539..aa8b54b8e 100644 --- a/src/cpu/testers/networktest/networktest.cc +++ b/src/cpu/testers/networktest/networktest.cc @@ -259,8 +259,7 @@ NetworkTest::generatePkt() "Generated packet with destination %d, embedded in address %x\n", destination, req->getPaddr()); - PacketPtr pkt = new Packet(req, requestType, 0); - pkt->setSrc(0); //Not used + PacketPtr pkt = new Packet(req, requestType); pkt->dataDynamicArray(new uint8_t[req->getSize()]); pkt->senderState = NULL; |