Revision 18aab5b7 examples/sshd.py

View differences:

examples/sshd.py
81 81
    net = TreeNet( depth=1, fanout=4 )
82 82
    # get sshd args from the command line or use default args
83 83
    # useDNS=no -u0 to avoid reverse DNS lookup timeout
84
    opts = ' '.join( sys.argv[ 1: ] ) if len( sys.argv ) > 1 else (
84
    argvopts = ' '.join( sys.argv[ 1: ] ) if len( sys.argv ) > 1 else (
85 85
        '-D -o UseDNS=no -u0' )
86
    sshd( net, opts=opts )
86
    sshd( net, opts=argvopts )

Also available in: Unified diff