-
Notifications
You must be signed in to change notification settings - Fork 76
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
Support for RFC5549 #72
Labels
Comments
VPNV6 prefixes have similar issues: Gets stored as prefix with NH :: instead of ::ffff:10.20.1.131 also the path_id it sets it to 0 instead of 38271. |
Thanks for the details. Will fix this in the coming weeks. There are some collector updates that need to be done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Advertising IPV4 networks with IPV6 NH
https://tools.ietf.org/html/rfc5549
Right now if the Prefix is IPV4 openBMP will convert NH to IPV4 format, otherwise use IPV6 format.
if (nlri.nh_len > 16)
memcpy(ip_raw, nlri.next_hop, 16);
else
memcpy(ip_raw, nlri.next_hop, nlri.nh_len);
inet_ntop(isIPv4 ? AF_INET : AF_INET6, ip_raw, ip_char, sizeof(ip_char));
The text was updated successfully, but these errors were encountered: