Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix LOCAL_PREF attribute flag #4889

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

Open
westzeroright wants to merge 1 commit into secdev:master
base: master
Choose a base branch
Loading
from westzeroright:fix/bgp-local-pref-flag

Conversation

@westzeroright
Copy link

@westzeroright westzeroright commented Dec 26, 2025

fix LOCAL_PERF attribute flag

According to RFC 4271 Section 5.1.5, the LOCAL_PREF attribute (type code 5) is a well-known discretionary attribute that is not transitive. However, Scapy was incorrectly setting the transitive bit (0x40) for this attribute.

fixes #4882

Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

BGP layer, the flag of attribute 'LOCAL_PREF' is wrong.

AltStyle によって変換されたページ (->オリジナル) /