diff options
Diffstat (limited to 'ryu/services/protocols/bgp/info_base/vpn.py')
-rw-r--r-- | ryu/services/protocols/bgp/info_base/vpn.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ryu/services/protocols/bgp/info_base/vpn.py b/ryu/services/protocols/bgp/info_base/vpn.py index 3b0c81f2..ece8e2ce 100644 --- a/ryu/services/protocols/bgp/info_base/vpn.py +++ b/ryu/services/protocols/bgp/info_base/vpn.py @@ -44,7 +44,7 @@ class VpnTable(Table): """Return a key that will uniquely identify this vpnvX NLRI inside this table. """ - return vpn_nlri.route_disc + ':' + vpn_nlri.prefix + return vpn_nlri.route_dist + ':' + vpn_nlri.prefix def _create_dest(self, nlri): return self.VPN_DEST_CLASS(self, nlri) @@ -70,7 +70,7 @@ class VpnPath(Path): vrf_path = self.VRF_PATH_CLASS( self.VRF_PATH_CLASS.create_puid( - self._nlri.route_disc, + self._nlri.route_dist, self._nlri.prefix ), self.source, vrf_nlri, |