Skip to content
Snippets Groups Projects
Commit 1ea5c91f authored by Bob Lantz's avatar Bob Lantz
Browse files

Update host's IP address during name-IP substitution

fixes #139
parent 76c5b9d0
No related branches found
No related tags found
No related merge requests found
......@@ -321,7 +321,7 @@ def default( self, line ):
if first in self.nodemap:
node = self.nodemap[ first ]
# Substitute IP addresses for node names in command
rest = [ self.nodemap[ arg ].IP()
rest = [ self.nodemap[ arg ].defaultIntf().updateIP()
if arg in self.nodemap else arg
for arg in rest ]
rest = ' '.join( rest )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment