diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-08-09 10:35:10 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 10:35:10 +0300 |
| commit | 4de721ee97565cf96d97d8a2fa8dd751ce1d437f (patch) | |
| tree | d5baa7998a61088c707144a36bd14ddc5617a6e7 | |
| parent | e885e97d8723ec2931bb3d23f2ade32810e5a1c2 (diff) | |
| parent | f7cafbb7173692a2e01186bb92affe1493cbdcca (diff) | |
Merge pull request #9305 from proelbtn/patch-1
bgpd: fix typo in ensure_vrf_tovpn_sid
| -rw-r--r-- | bgpd/bgp_mplsvpn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c index cab58b45b8..1af2ab384f 100644 --- a/bgpd/bgp_mplsvpn.c +++ b/bgpd/bgp_mplsvpn.c @@ -595,7 +595,7 @@ void ensure_vrf_tovpn_sid(struct bgp *bgp_vpn, struct bgp *bgp_vrf, afi_t afi) return; /* check invalid case both configured index and auto */ - if (tovpn_sid_index != 0 && tovpn_sid_index) { + if (tovpn_sid_index != 0 && tovpn_sid_auto) { zlog_err("%s: index-mode and auto-mode both selected. ignored.", __func__); return; |
