[INET 3.4] Self referencing call in IPv6RoutingTable.h

13 views
Skip to first unread message

Fabian Eisele

unread,
Apr 19, 2017, 12:10:45 PM4/19/17
to omn...@googlegroups.com
Hello,

I'm using INET v3.4 that comes with OMNeT++ v5.0. Every time I'm opening a project in the GUI, it's showing me an issue in the source code of INET. It seems to be the same issue as here:

But this discussion was about INET v3.2.2 and according to Rudolf Hornig the issue was fixed with v3.2.3. It therefore seems that either this is something new, or this is a different branch (?) and thus the issue is not fixed in this version?

This is the line #391 that is marked with a warning in IPv6RoutingTable.h:
virtual InterfaceEntry *getInterfaceByAddress(const L3Address& address) const override { return getInterfaceByAddress(address.toIPv6()); }

€: I saw that this issue has been fixed with INET v3.5. Is it possible to create a version v3.4.1? INET v3.5 is only compatible with OMNeT++ v5.1, but I need to stay with OMNeT++ v5.0, otherwise CoRE4INET is not working.

Best regards

Michael Kirsche

unread,
Apr 20, 2017, 4:50:41 AM4/20/17
to OMNeT++ Users
Why don't you apply the fixes that were done to the IPv6RoutingTable.h yourself?

Check the Github repository, Git blame shows which line of IPv6RoutingTable.h was modified in which commit.

This leads to the following commit: https://github.com/inet-framework/inet/commit/8cb555b2c14295efb0431889e18c1a380f8c04dc?diff=split
Try to apply the same changes to fix your problem if you need to stay with the older INET version.

Fabian Eisele

unread,
Apr 20, 2017, 12:52:54 PM4/20/17
to OMNeT++ Users
OK, I'll try it on the weekend.
Reply all
Reply to author
Forward
0 new messages