s4-smbtorture: use ipv4 addresses for backchannel spoolss change notify
authorGünther Deschner <gd@samba.org>
Mon, 20 Jun 2011 16:01:38 +0000 (18:01 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 21 Jun 2011 15:46:37 +0000 (17:46 +0200)
connections for now.

Guenther

source4/torture/rpc/spoolss_notify.c

index cfb67716df19d1768539256755295c9adb10e736..81487d95fed01a081852ae54e233bd5dc60124fe 100644 (file)
@@ -456,7 +456,7 @@ static bool test_start_dcerpc_server(struct torture_context *tctx,
        lpcfg_set_cmdline(tctx->lp_ctx, "dcerpc endpoint servers", "spoolss");
 
        load_interface_list(tctx, tctx->lp_ctx, &ifaces);
-       address = iface_list_n_ip(ifaces, 0);
+       address = iface_list_first_v4(ifaces);
 
        torture_comment(tctx, "Listening for callbacks on %s\n", address);