diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-05-01 10:05:12 +0000 |
---|---|---|
committer | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-05-01 10:14:21 +0000 |
commit | 0f33a508896704f9b2d21efbafa63d8f5c3e200e (patch) | |
tree | bd394535450116ff3156cb6fe021c26e935ee9ce /api/util.go | |
parent | c468a1bcf64ec21daebd9128eb94e3e5bc93afb7 (diff) |
api/packet: add extended community/rt nlri structure to api
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/util.go')
-rw-r--r-- | api/util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/api/util.go b/api/util.go index 00a4366c..591c1c59 100644 --- a/api/util.go +++ b/api/util.go @@ -19,6 +19,7 @@ var AF_IPV4_UC *AddressFamily = &AddressFamily{AFI_IP, SAFI_UNICAST} var AF_IPV6_UC *AddressFamily = &AddressFamily{AFI_IP6, SAFI_UNICAST} var AF_EVPN *AddressFamily = &AddressFamily{AFI_L2VPN, SAFI_EVPN} var AF_ENCAP *AddressFamily = &AddressFamily{AFI_IP, SAFI_ENCAP} +var AF_RTC *AddressFamily = &AddressFamily{AFI_IP, SAFI_ROUTE_TARGET_CONSTRAINTS} func (lhs *AddressFamily) Equal(rhs *AddressFamily) bool { return lhs.Afi == rhs.Afi && lhs.Safi == rhs.Safi |