diff --git a/napalm_junos/junos.py b/napalm_junos/junos.py index 4b29961..1b3cb5e 100644 --- a/napalm_junos/junos.py +++ b/napalm_junos/junos.py @@ -1165,8 +1165,9 @@ def get_route_to(self, destination='', protocol='', vrf=''): if protocol and isinstance(destination, py23_compat.string_types): rt_kargs['protocol'] = protocol + #table is (almost) a vrf if vrf: - rt_kargs['vrf'] = vrf + rt_kargs['table'] = vrf try: routes_table.get(**rt_kargs)