From 444f9d8d7660bddf03d0a01c58cb1c77fcbe01cf Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Wed, 1 Sep 2010 20:50:28 -0700 Subject: [PATCH] Pass code check. --- bin/mn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/mn b/bin/mn index 903e186..5b5547d 100755 --- a/bin/mn +++ b/bin/mn @@ -186,7 +186,8 @@ class MininetRunner( object ): opts.add_option( '--post', type='string', default=None, help='[CLI script to run after tests]' ) opts.add_option( '--prefixlen', type='int', default=8, - help='[prefix length (e.g. /8) for automatic network configuration]' ) + help='[prefix length (e.g. /8) for automatic ' + 'network configuration]' ) self.options, self.args = opts.parse_args() def setup( self ): @@ -226,7 +227,7 @@ class MininetRunner( object ): # We should clarify what this is actually for... # It seems like it should be default values for the # *data* network, so it may be misnamed. - controllerParams = ControllerParams( '10.0.0.0', + controllerParams = ControllerParams( '10.0.0.0', self.options.prefixlen) inNamespace = self.options.innamespace