Testparm needs the extra arg to set_local_machine_name() too.
authorAndrew Bartlett <abartlet@samba.org>
Sat, 8 Mar 2003 10:24:48 +0000 (10:24 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 8 Mar 2003 10:24:48 +0000 (10:24 +0000)
(This used to be commit 30ba31e6355b5dfb902e42d2b5edc71630db2923)

source3/utils/testparm.c

index b68deaaa5de12f11e6e0638f5a35f56081a6ce0b..60243b671be28389e0abeaee8841bff0e5ebc263 100644 (file)
@@ -227,7 +227,7 @@ int main(int argc, const char *argv[])
        caddr = poptGetArg(pc);
        
        if (new_local_machine) {
-               set_local_machine_name(new_local_machine);
+               set_local_machine_name(new_local_machine, True);
        }
 
        dbf = x_stdout;