mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Tests - IP allocation simulation - LCP2 => non-deterministic
The default in this script is still deterministic IPs. The LCP2 option should really turn off deterministic IPs. Also fix a typo... Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit c378a059b35fcc9955215a0095826c919d42153c)
This commit is contained in:
parent
e3b85bba3f
commit
840a9b8702
@ -97,7 +97,12 @@ def process_args(extra_options=[]):
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
if len(args) != 0:
|
||||
parser.error("too many argumentss")
|
||||
parser.error("too many arguments")
|
||||
|
||||
# Could use a callback for this or change the default, but
|
||||
# laziness is sometimes a virtue. ;-)
|
||||
if options.lcp2:
|
||||
options.deterministic_public_ips = False
|
||||
|
||||
def print_begin(t, delim='='):
|
||||
print delim * 40
|
||||
|
Loading…
Reference in New Issue
Block a user