Skip to content

Commit

Permalink
Bugfix #199. Missing control info using UDP and IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
rhornig committed Mar 25, 2011
1 parent 28c877d commit 7e2c3d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions WHATSNEW
@@ -1,6 +1,8 @@
Recent changes in the INET Framework
====================================

- fixed a bug #199 (missing control info) in UDP module when using IPv6 as a transport

INET-20110225
-------------
- additional statistics in the SCTP module (Alberto Cortes)
Expand Down
2 changes: 1 addition & 1 deletion src/transport/udp/UDP.cc
Expand Up @@ -448,7 +448,7 @@ void UDP::processUDPPacket(UDPPacket *udpPacket)
}
}
}
else if (dynamic_cast<IPv6ControlInfo *>(udpPacket->getControlInfo())!=NULL)
else if (dynamic_cast<IPv6ControlInfo *>(ctrl)!=NULL)
{
IPv6ControlInfo *ctrl6 = (IPv6ControlInfo *)ctrl;
for (SockDescList::iterator it=list.begin(); it!=list.end(); ++it)
Expand Down

0 comments on commit 7e2c3d2

Please sign in to comment.