summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_label.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_label.c')
-rw-r--r--bgpd/bgp_label.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bgpd/bgp_label.c b/bgpd/bgp_label.c
index 38b39075b..546ed0ed6 100644
--- a/bgpd/bgp_label.c
+++ b/bgpd/bgp_label.c
@@ -212,10 +212,6 @@ int bgp_nlri_parse_label(struct peer *peer, struct attr *attr,
mpls_label_t label = MPLS_INVALID_LABEL;
u_char llen;
- /* Check peer status. */
- if (peer->status != Established)
- return 0;
-
pnt = packet->nlri;
lim = pnt + packet->length;
afi = packet->afi;