fixed runtime error
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 Sep 2009 14:54:40 +0000 (14:54 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 22 Sep 2009 14:54:40 +0000 (14:54 +0000)
plnet.py

index 84b0791..a94236e 100755 (executable)
--- a/plnet.py
+++ b/plnet.py
@@ -156,7 +156,7 @@ def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa
                                        (inter['IFNAME'],hwifname))
                         inter['IFNAME'] = hwifname
                 else:
-                    logger.log('net:InitInterfaces WARNING: mac addr %s for alias not found' %(hwaddr,alias))
+                    logger.log('net:InitInterfaces WARNING: mac addr %s for alias not found' %(hwaddr))
 
             if 'IFNAME' in inter:
                 # stupid RH /etc/sysconfig/network-scripts/ifup-aliases:new_interface()