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

Fix Node.MAC(intf) to return intf.MAC() rather than intf.IP()

Fixes #89 ; Thanks to Nikhil S. Menon for the bug report
parent 5879c492
No related branches found
No related tags found
No related merge requests found
......@@ -447,7 +447,7 @@ def IP( self, intf=None ):
def MAC( self, intf=None ):
"Return MAC address of a node or specific interface."
return self.intf( intf ).IP()
return self.intf( intf ).MAC()
def intfIsUp( self, intf=None ):
"Check if an interface is up."
......
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