-
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
ospf6d: some cleaning #10315
ospf6d: some cleaning #10315
Conversation
When running topotest ospf6_topo2 we can see a log message with wrong lsa id 2021/12/20 23:14:40.330 OSPF6: [V8P0C-HB5Z2] ASBR[default:Status:3]: Update 2021/12/20 23:14:40.330 OSPF6: [Z489N-JAJ6P] ASBR[default:Status:3]: Already ASBR 2021/12/20 23:14:40.330 OSPF6: [Z9D0B-12SBJ] Redistribute 2001:db8:2::/64 (connected) 2021/12/20 23:14:40.330 OSPF6: [N66XP-ANN4G] Advertise as AS-External Id:8.70.41.177 prefix 2001:db8:2::/64 metric 2 (**) 2021/12/20 23:14:40.330 OSPF6: [K4Y9R-C22T6] Advertise new AS-External Id:0.0.0.3 prefix 2001:db8:2::/64 metric 2 2021/12/20 23:14:40.330 OSPF6: [PKX0N-KNRQR] Originate AS-External-LSA for 2001:db8:2::/64 This PR removes the log (instead of fixing it) as same information is printed in the following entry Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
Continuous Integration Result: SUCCESSFULContinuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-2594/ This is a comment from an automated CI system. Warnings Generated during build:Checkout code: Successful with additional warnings
|
ospf6d/ospf6_nssa.c
Outdated
type5 = ospf6_lsdb_lookup( | ||
htons(type), lsa->external_lsa_id, | ||
htons(OSPF6_LSTYPE_AS_EXTERNAL), lsa->external_lsa_id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple of missing htons
in this file on lines 578 and 667. Could you fix them as well, please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And also fix the style warnings, please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
The OSPF6_LSA_UNAPPROVED flag is set in the function above ospf6_lsa_translated_nssa_new, so there is no need to set the flag again Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
2f2bf3a
to
98ec37c
Compare
Continuous Integration Result: SUCCESSFULContinuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-2595/ This is a comment from an automated CI system. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes looks good but can you fix the style errors.
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
98ec37c
to
bc36c05
Compare
sorry 🙏 just fixed I hope...thanks |
Continuous Integration Result: FAILEDContinuous Integration Result: FAILEDTest incomplete. See below for issues. This is a comment from an automated CI system. Get source / Pull Request: SuccessfulBuilding Stage: SuccessfulBasic Tests: IncompleteTopotests Ubuntu 18.04 amd64 part 8: Incomplete(check logs for details)Successful on other platforms/tests
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks kay modulo the responses to previous comments ... will wait for those to be verified
ci:rerun |
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-PULLREQ2-2639/ This is a comment from an automated CI system. |
Some cleaning mostly in the NSSA part. See individual commits