Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes when adding v6 route on a kernel without v6 multicast support #207

Closed
kuba-moo opened this issue May 9, 2024 · 2 comments
Closed

Comments

@kuba-moo
Copy link

kuba-moo commented May 9, 2024

Hi!

This line leads to a crash:

mroute.ttl[vif] = iface->threshold;

when adding a v6 route and kernel has no v6 mcast support. vif is equal to NO_VIF.

@troglobit
Copy link
Owner

Nice catch, NO_VIF == ALL_VIFS == -1, so that makes sense. We should add a check to the return of iface_get_vif(), I'll get right on it.

@troglobit
Copy link
Owner

Thank you for taking the time to report this! The issue has been fixed and released as SMCRoute v2.5.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants