Merge pull request #617 from oliviertilmans/patch-3

link: Set prefixLen for loopback address
This commit is contained in:
lantz
2016-04-22 13:30:16 -07:00
+1
View File
@@ -49,6 +49,7 @@ class Intf( object ):
# This saves an ifconfig command per node
if self.name == 'lo':
self.ip = '127.0.0.1'
self.prefixLen = 8
# Add to node (and move ourselves if necessary )
moveIntfFn = params.pop( 'moveIntfFn', None )
if moveIntfFn: