bgpd: set Graceful Restart R bit for vpnv4 address family

Signed-off-by: Julien Courtat <julien.courtat@6wind.com>
This commit is contained in:
Julien Courtat 2016-05-20 12:08:28 +02:00 committed by Philippe Guibert
parent 487be854a5
commit e60eb8c4ed

View File

@ -1536,7 +1536,7 @@ bgp_open_capability (struct stream *s, struct peer *peer)
if (peer->afc[afi][safi]) if (peer->afc[afi][safi])
{ {
stream_putw (s, afi); stream_putw (s, afi);
stream_putc (s, safi); stream_putc (s, (safi == SAFI_MPLS_VPN) ? SAFI_MPLS_LABELED_VPN : safi);
stream_putc (s, 0); //Forwarding is not retained as of now. stream_putc (s, 0); //Forwarding is not retained as of now.
} }
} }