Internet: (fixes #2627) - Ipv6RawSocket must check bound interface
This commit is contained in:
@@ -65,6 +65,7 @@ Bugs fixed
|
||||
- Bug 2605 - A HT/VHT station transmitting to a legacy access point results in a null throughput
|
||||
- Bug 2607 - Minstrel HT manager results in an endless loop when a 802.11ac station is transmitting to a 802.11a access point
|
||||
- Bug 2614 - RIP header version should be set to 2
|
||||
- Bug 2627 - Ipv6RawSocket does not honor the bound interface when sending packets
|
||||
|
||||
Known issues
|
||||
------------
|
||||
|
||||
@@ -245,7 +245,7 @@ int Ipv6RawSocketImpl::SendTo (Ptr<Packet> p, uint32_t flags, const Address& toA
|
||||
hdr.SetDestinationAddress (dst);
|
||||
SocketErrno err = ERROR_NOTERROR;
|
||||
Ptr<Ipv6Route> route = 0;
|
||||
Ptr<NetDevice> oif (0); /*specify non-zero if bound to a source address */
|
||||
Ptr<NetDevice> oif = m_boundnetdevice; //specify non-zero if bound to a specific device
|
||||
|
||||
if (!m_src.IsAny ())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user