Skip to content

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

@xingyunp123

Description

@xingyunp123

Brief description

The attribute flag of LOCAL_PREF should be 0x00, but in scapy, it is 0x40.
Please note that the LOCAL_PREF is not a transitive attribute.

Scapy version

latest

Python version

3.11

Operating system

Ubuntu 22.04

Additional environment information

No response

How to reproduce

from scapy.contrib.bgp import *

print(attributes_flags[5])

Actual result

No response

Expected result

No response

Related resources

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions