Bug fix
Andy Bavier [Wed, 2 May 2012 20:13:46 +0000 (16:13 -0400)]
plnet.py

index 2714af5..b3974ab 100755 (executable)
--- a/plnet.py
+++ b/plnet.py
@@ -113,7 +113,7 @@ def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa
                 if settingname in ('IFNAME','ALIAS','CFGOPTIONS','DRIVER','VLAN'):
                     details[settingname]=setting['value']
                 # IPv6 support on IPv4 interface
-                if settingname in ('IPV6ADDR','IPV6_DEFAULTGW','IPV6ADDR_SECONDARIES'):
+                elif settingname in ('IPV6ADDR','IPV6_DEFAULTGW','IPV6ADDR_SECONDARIES'):
                     details[settingname]=setting['value']
                     details['IPV6INIT']='yes'
                 # wireless settings