Skip to content

Fix LOCAL_PREF attribute flag#4889

Open
westzeroright wants to merge 1 commit intosecdev:masterfrom
westzeroright:fix/bgp-local-pref-flag
Open

Fix LOCAL_PREF attribute flag#4889
westzeroright wants to merge 1 commit intosecdev:masterfrom
westzeroright:fix/bgp-local-pref-flag

Conversation

@westzeroright
Copy link

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

@gpotter2
Copy link
Member

See #4882 (comment)

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

Successfully merging this pull request may close these issues.

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

2 participants