s4-ipv6: update callers to load_interface_list()
[kai/samba.git] / source4 / wrepl_server / wrepl_server.c
index 45cf8a94d2c2a5aff69cffc921df35be9aba0d45..7b420e3d91446a0c3c5d07210949c7dbffef32bb 100644 (file)
@@ -78,7 +78,7 @@ static NTSTATUS wreplsrv_open_winsdb(struct wreplsrv_service *service,
 
        if (owner == NULL) {
                struct interface *ifaces;
-               load_interface_list(service, lpcfg_interfaces(lp_ctx), &ifaces);
+               load_interface_list(service, lp_ctx, &ifaces);
                owner = iface_list_n_ip(ifaces, 0);
        }