s3: Remove the smbd_messaging_context from pcap_cache_reload
[abartlet/samba.git/.git] / source3 / smbd / server_reload.c
index 80e30c04b61afdf4d95c9a0ec98b4b532fb0068b..22a5675e07113605f3d738aee92388c4cd31291f 100644 (file)
@@ -40,7 +40,7 @@ void reload_printers(struct messaging_context *msg_ctx)
        NTSTATUS status;
        bool skip = false;
 
-       pcap_cache_reload();
+       pcap_cache_reload(server_event_context(), msg_ctx);
 
        status = make_server_info_system(talloc_tos(), &server_info);
        if (!NT_STATUS_IS_OK(status)) {