Merge pull request #617 from oliviertilmans/patch-3
link: Set prefixLen for loopback address
This commit is contained in:
@@ -49,6 +49,7 @@ class Intf( object ):
|
|||||||
# This saves an ifconfig command per node
|
# This saves an ifconfig command per node
|
||||||
if self.name == 'lo':
|
if self.name == 'lo':
|
||||||
self.ip = '127.0.0.1'
|
self.ip = '127.0.0.1'
|
||||||
|
self.prefixLen = 8
|
||||||
# Add to node (and move ourselves if necessary )
|
# Add to node (and move ourselves if necessary )
|
||||||
moveIntfFn = params.pop( 'moveIntfFn', None )
|
moveIntfFn = params.pop( 'moveIntfFn', None )
|
||||||
if moveIntfFn:
|
if moveIntfFn:
|
||||||
|
|||||||
Reference in New Issue
Block a user