]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: IPv4 LU withdraw using 0x000000 label 5356/head
authorv00lk <v00lk@bk.ru>
Sat, 16 Nov 2019 07:22:01 +0000 (10:22 +0300)
committerAleksandr Klimenko <v00lk@bk.ru>
Wed, 20 Nov 2019 12:28:46 +0000 (15:28 +0300)
commit6b9ce3dc81435e7ce89010ae7e6a50bb6c64ad60
tree735f0d5a37f4eff0fc0d7fad1be2bd48e87d317f
parent1e5fe0e258a7c029eb2c9aa8b8f19a28196830da
bgpd: IPv4 LU withdraw using 0x000000 label

According to RFC 8277 IPv4 LU NLRI can be withdrawn using label 0x000000.
This RFC updates RFC3101 where it should be done only with 0x800000 label value.
Juniper implementation sets value 0x000000 when prefix is being withdrawn.
Page 12 RFC8277 states:
[RFC3107] also made it possible to withdraw a binding without
specifying the label explicitly, by setting the Compatibility field
to 0x800000. However, some implementations set it to 0x000000. In
order to ensure backwards compatibility, it is RECOMMENDED by this
document that the Compatibility field be set to 0x800000, but it is
REQUIRED that it be ignored upon reception.

Now FRR drops BGP session when receives such BGP update.

Signed-off-by: Aleksandr Klimenko <v00lk@bk.ru>
bgpd/bgp_label.h