diff options
-rw-r--r-- | ryu/services/protocols/bgp/info_base/vrf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ryu/services/protocols/bgp/info_base/vrf.py b/ryu/services/protocols/bgp/info_base/vrf.py index 5e22e299..2998dda1 100644 --- a/ryu/services/protocols/bgp/info_base/vrf.py +++ b/ryu/services/protocols/bgp/info_base/vrf.py @@ -175,7 +175,7 @@ class VrfTable(Table): pattrs=vpn_path.pathattr_map, nexthop=vpn_path.nexthop, is_withdraw=vpn_path.is_withdraw, - label_list=vpn_path.nlri.label_list + label_list=getattr(vpn_path.nlri, 'label_list', None), ) if self._is_vrf_path_already_in_table(vrf_path): return None |