r26402: Require a talloc context in libnetif.
[tprouty/samba.git] / source4 / torture / nbt / register.c
index 090027be2ea835b5c198ae6098261c1e83f2317b..508c6b484040103d50690968a58fdf045e20b182 100644 (file)
@@ -54,7 +54,7 @@ static bool nbt_register_own(struct torture_context *tctx)
        if (!torture_nbt_get_name(tctx, &name, &address))
                return false;
 
-       load_interfaces(lp_interfaces(tctx->lp_ctx), &ifaces);
+       load_interfaces(tctx, lp_interfaces(tctx->lp_ctx), &ifaces);
 
        myaddress = iface_best_ip(ifaces, address);
 
@@ -123,7 +123,7 @@ static bool nbt_refresh_own(struct torture_context *tctx)
        if (!torture_nbt_get_name(tctx, &name, &address))
                return false;
        
-       load_interfaces(lp_interfaces(tctx->lp_ctx), &ifaces);
+       load_interfaces(tctx, lp_interfaces(tctx->lp_ctx), &ifaces);
 
        myaddress = iface_best_ip(ifaces, address);