Pass code check

This commit is contained in:
Bob Lantz
2015-02-04 04:43:02 -08:00
parent 340bf3cb7a
commit d7e01bb821
+2 -1
View File
@@ -454,7 +454,8 @@ class RemoteLink( Link ):
if not addr: if not addr:
result = node.cmd( 'ip link set tap9 name', intf ) result = node.cmd( 'ip link set tap9 name', intf )
else: else:
result = node.cmd( 'ip link set tap9 name', intf, 'address', addr ) result = node.cmd( 'ip link set tap9 name', intf,
'address', addr )
if result: if result:
raise Exception( 'error renaming %s: %s' % ( intf, result ) ) raise Exception( 'error renaming %s: %s' % ( intf, result ) )
return tunnel return tunnel