summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Courtat <julien.courtat@6wind.com>2016-05-20 12:08:28 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2017-01-04 17:57:31 +0100
commite60eb8c4edd718bf7361f8ec500d755d0f664dac (patch)
tree127001fa839003358a03ecd3b334c0016627b3f7
parentlib: add grammar_sandbox to .gitignore (diff)
downloadfrr-e60eb8c4edd718bf7361f8ec500d755d0f664dac.tar.xz
frr-e60eb8c4edd718bf7361f8ec500d755d0f664dac.zip
bgpd: set Graceful Restart R bit for vpnv4 address family
Signed-off-by: Julien Courtat <julien.courtat@6wind.com>
-rw-r--r--bgpd/bgp_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_open.c b/bgpd/bgp_open.c
index 02026a004..4c698562b 100644
--- a/bgpd/bgp_open.c
+++ b/bgpd/bgp_open.c
@@ -1536,7 +1536,7 @@ bgp_open_capability (struct stream *s, struct peer *peer)
if (peer->afc[afi][safi])
{
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.
}
}