diff options
author | Julien Courtat <julien.courtat@6wind.com> | 2016-05-20 12:08:28 +0200 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2017-01-04 17:57:31 +0100 |
commit | e60eb8c4edd718bf7361f8ec500d755d0f664dac (patch) | |
tree | 127001fa839003358a03ecd3b334c0016627b3f7 /bgpd/bgp_open.c | |
parent | lib: add grammar_sandbox to .gitignore (diff) | |
download | frr-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>
Diffstat (limited to 'bgpd/bgp_open.c')
-rw-r--r-- | bgpd/bgp_open.c | 2 |
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. } } |