s4-torture: minor cleanup in test_witness_Register().
authorGünther Deschner <gd@samba.org>
Wed, 13 May 2015 08:47:12 +0000 (10:47 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 3 Jul 2015 00:00:27 +0000 (02:00 +0200)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/torture/rpc/witness.c

index 7499b05a5206fb4f8eb7bedf4c344eab0c41c277..3064dbd5975c90ea46cadfa39aa0ea1ecb5f0e44 100644 (file)
@@ -286,7 +286,7 @@ static bool test_witness_Register(struct torture_context *tctx,
                },{
                        .version                = WITNESS_V1,
                        .net_name               = dcerpc_server_name(p),
-                       .ip_address             = NULL, /* "99192.168.44.45" */
+                       .ip_address             = NULL,
                        .client_computer_name   = lpcfg_netbios_name(tctx->lp_ctx),
                        .expected_status        = NT_STATUS_OK,
                        .expected_result        = WERR_INVALID_PARAM
@@ -422,7 +422,7 @@ static bool test_witness_RegisterEx(struct torture_context *tctx,
                },{
                        .version                = WITNESS_V2,
                        .net_name               = dcerpc_server_name(p),
-                       .ip_address             = NULL, /* "99192.168.44.45" */
+                       .ip_address             = NULL,
                        .client_computer_name   = lpcfg_netbios_name(tctx->lp_ctx),
                        .expected_status        = NT_STATUS_OK,
                        .expected_result        = WERR_INVALID_PARAM