diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-06-02 15:40:28 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-06-06 12:26:10 +1000 |
commit | 40dc94a53f4f0f5dee285daf486912b0996d5f3e (patch) | |
tree | 82b5677468d3f7ebfae7783132e1a2776cafc3f2 /source4/lib | |
parent | 44d47e85157209f5aec1a6e0cd507c1084716816 (diff) | |
download | samba-40dc94a53f4f0f5dee285daf486912b0996d5f3e.tar.gz samba-40dc94a53f4f0f5dee285daf486912b0996d5f3e.tar.bz2 samba-40dc94a53f4f0f5dee285daf486912b0996d5f3e.zip |
s4-ipv6: update callers to load_interface_list()
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/socket/testsuite.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/socket/testsuite.c b/source4/lib/socket/testsuite.c index 518bc72501..357e4ae5df 100644 --- a/source4/lib/socket/testsuite.c +++ b/source4/lib/socket/testsuite.c @@ -42,7 +42,7 @@ static bool test_udp(struct torture_context *tctx) TALLOC_CTX *mem_ctx = tctx; struct interface *ifaces; - load_interface_list(tctx, lpcfg_interfaces(tctx->lp_ctx), &ifaces); + load_interface_list(tctx, tctx->lp_ctx, &ifaces); status = socket_create("ip", SOCKET_TYPE_DGRAM, &sock1, 0); torture_assert_ntstatus_ok(tctx, status, "creating DGRAM IP socket 1"); @@ -135,7 +135,7 @@ static bool test_tcp(struct torture_context *tctx) torture_assert_ntstatus_ok(tctx, status, "creating IP stream socket 1"); talloc_steal(mem_ctx, sock2); - load_interface_list(tctx, lpcfg_interfaces(tctx->lp_ctx), &ifaces); + load_interface_list(tctx, tctx->lp_ctx, &ifaces); localhost = socket_address_from_strings(sock1, sock1->backend_name, iface_list_best_ip(ifaces, "127.0.0.1"), 0); torture_assert(tctx, localhost, "Localhost not found"); |