X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=plnet.py;h=129e5bad09438c5da7351395403ae57b6f16ddfc;hb=b6b71094bb22b2ae358fb6e65396df9b151c3cdc;hp=f12c1734271508098e89ba1fa2cad0777fbebfd6;hpb=a8c7e65c89e1e44f0cceb9bbc7b20e5cd054c1a7;p=pyplnet.git diff --git a/plnet.py b/plnet.py index f12c173..129e5ba 100755 --- a/plnet.py +++ b/plnet.py @@ -43,7 +43,7 @@ def InitInterfaces(logger, plc, data, root="", files_only=False, program="NodeMa failedToGetSettings = False # NOTE: GetInterfaces/NodeNetworks does not necessarily order the interfaces - # returned. Because 'interface'is decremented as each interface is processed, + # returned. Because 'interface' is decremented as each interface is processed, # by the time is_primary=True (primary) interface is reached, the device # "eth%s" % interface, is not eth0. But, something like eth-4, or eth-12. # This code sorts the interfaces, placing is_primary=True interfaces first.