diff --git a/scapy/contrib/bgp.py b/scapy/contrib/bgp.py index 0060e5f9f32..e70464768da 100644 --- a/scapy/contrib/bgp.py +++ b/scapy/contrib/bgp.py @@ -1070,7 +1070,7 @@ def post_build(self, p, pay): 2: 0x40, # AS_PATH 3: 0x40, # NEXT_HOP 4: 0x80, # MULTI_EXIT_DISC - 5: 0x40, # LOCAL_PREF + 5: 0x00, # LOCAL_PREF 6: 0x40, # ATOMIC_AGGREGATE 7: 0xc0, # AGGREGATOR 8: 0xc0, # COMMUNITIES (RFC 1997)