Skip to content
Snippets Groups Projects
Commit 68f5925e authored by Bob Lantz's avatar Bob Lantz
Browse files

Changed port to int type (was string, which caused %d not to work in node.py.)

parent 3b48e829
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ class MininetRunner( object ):
opts.add_option( '--ip', type='string', default='127.0.0.1',
help='[ip address as a dotted decimal string for a'
'remote controller]' )
opts.add_option( '--port', type='string', default=6633,
opts.add_option( '--port', type='int', default=6633,
help='[port integer for a listening remote'
' controller]' )
opts.add_option( '--inNamespace', action='store_true',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment