Skip to content

Commit

Permalink
Merge 00a1494 into 247c064
Browse files Browse the repository at this point in the history
  • Loading branch information
bewing committed Sep 19, 2018
2 parents 247c064 + 00a1494 commit 0a4fc9f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions napalm/eos/eos.py
Expand Up @@ -1067,12 +1067,9 @@ def get_route_to(self, destination='', protocol=''):
if protocol.lower() == 'direct':
protocol = 'connected'

try:
ipv = ''
if IPNetwork(destination).version == 6:
ipv = 'v6'
except AddrFormatError:
return 'Please specify a valid destination!'
ipv = ''
if IPNetwork(destination).version == 6:
ipv = 'v6'

commands = []
for _vrf in vrfs:
Expand Down

0 comments on commit 0a4fc9f

Please sign in to comment.