diff options
author | Lou Berger <lberger@labn.net> | 2017-05-13 22:37:13 +0200 |
---|---|---|
committer | Lou Berger <lberger@labn.net> | 2017-05-13 22:37:13 +0200 |
commit | b380f68a7ae1ba89c4289c86ccc0ba0cf8aa2f87 (patch) | |
tree | e5d8b6cf5602ea14d5c608ec7e01652d829d2747 /bgpd/bgp_label.h | |
parent | Merge pull request #525 from qlyoung/frr-script-fix (diff) | |
download | frr-b380f68a7ae1ba89c4289c86ccc0ba0cf8aa2f87.tar.xz frr-b380f68a7ae1ba89c4289c86ccc0ba0cf8aa2f87.zip |
bgpd: add epvn as labeled safi type (ISSUE #471)
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'bgpd/bgp_label.h')
-rw-r--r-- | bgpd/bgp_label.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bgpd/bgp_label.h b/bgpd/bgp_label.h index 49a7b945a..b45e791ce 100644 --- a/bgpd/bgp_label.h +++ b/bgpd/bgp_label.h @@ -42,7 +42,8 @@ extern int bgp_nlri_parse_label (struct peer *peer, struct attr *attr, static inline int bgp_labeled_safi (safi_t safi) { - if ((safi == SAFI_LABELED_UNICAST) || (safi == SAFI_MPLS_VPN)) + if ((safi == SAFI_LABELED_UNICAST) || (safi == SAFI_MPLS_VPN) || + (safi == SAFI_EVPN)) return 1; return 0; } |