1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-18 19:17:08 +03:00

smbd: Use new debug macros in kill-client-ip

Mainly to have the new macros actually used in the code.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Jun 11 04:34:50 CEST 2015 on sn-devel-104
This commit is contained in:
Christof Schmitt 2015-06-09 13:10:27 -07:00 committed by Jeremy Allison
parent 70b10f8f20
commit b51ad15618

View File

@ -2711,7 +2711,7 @@ static void msg_kill_client_ip(struct messaging_context *msg_ctx,
const char *ip = (char *) data->data;
char *client_ip;
DEBUG(10, ("Got kill request for client IP %s\n", ip));
DBG_DEBUG("Got kill request for client IP %s\n", ip);
client_ip = tsocket_address_inet_addr_string(sconn->remote_address,
talloc_tos());
@ -2720,8 +2720,8 @@ static void msg_kill_client_ip(struct messaging_context *msg_ctx,
}
if (strequal(ip, client_ip)) {
DEBUG(1, ("Got kill client message for %s - "
"exiting immediately\n", ip));
DBG_WARNING("Got kill client message for %s - "
"exiting immediately\n", ip);
exit_server_cleanly("Forced disconnect for client");
}