-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix LYD_NEW_PATH_OUTPUT issue to support libyang v3.x #16511
Conversation
Please let's follow our style conventions for commit messages. Read doc/developer/workflow.rst for the how to. |
Thanks for your reminding👌 |
let's use #16514 instead it keeps the libyang3 conditionals together and also deals with the change not being correct (i guess early libyang v3 didn't have/require this change?) |
does this need to be closed? |
Thanks very much to give me the opportunity to contribute FRR, @choppsv1 @vjardin. I feel so happy and respected😁😁😁. Thank you all, great team. I change the code following @choppsv1's way and I add the define in condition (LY_VERSION_MAJOR < 3). According to the below comment, I think the code can still be compiled fine if we remove the old compatible code in future.
|
533aa13
to
763dd64
Compare
Fix the LYD_NEW_PATH_OUTPUT undeclared error to support the latest libyang v3.x version, and also compatible with old version. Signed-off-by: Lu Mao <[email protected]>
https://github.com/Mergifyio backport stable/10.1 |
✅ Backports have been created
|
Fix LYD_NEW_PATH_OUTPUT issue to support libyang v3.x (backport #16511)
There will be a LYD_NEW_PATH_OUTPUT undeclared error if using the latest libyang V3.x version. It was reported in #16287 before.
I fixed the error to support that. And it's compatible with old version.