author | Tom Henderson <tomh@tomh.org> |
Tue, 15 Dec 2015 23:30:52 -0800 | |
changeset 11788 | 57b0d9a2c4fe |
parent 11787 | 89a0fb756b43 |
child 11789 | 232d7ad5a88d |
--- a/src/network/utils/packet-socket.cc Mon Dec 14 17:16:43 2015 -0800 +++ b/src/network/utils/packet-socket.cc Tue Dec 15 23:30:52 2015 -0800 @@ -474,7 +474,7 @@ ad.SetProtocol (m_protocol); if (m_isSingleDevice) { - Ptr<NetDevice> device = m_node->GetDevice (ad.GetSingleDevice ()); + Ptr<NetDevice> device = m_node->GetDevice (m_device); ad.SetPhysicalAddress (device->GetAddress ()); ad.SetSingleDevice (m_device); }