(kadm5_log_flush): send a unix domain datagram to inform the possible
running ipropd of an update. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4339 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -162,6 +162,16 @@ kadm5_log_flush (kadm5_log_context *log_context,
|
||||
krb5_data_free(&data);
|
||||
return errno;
|
||||
}
|
||||
/*
|
||||
* Try to send a signal to any running `ipropd-master'
|
||||
*/
|
||||
sendto (log_context->socket_fd,
|
||||
&log_context->version,
|
||||
sizeof(log_context->version),
|
||||
0,
|
||||
(struct sockaddr *)&log_context->socket_name,
|
||||
sizeof(log_context->socket_name));
|
||||
|
||||
krb5_data_free(&data);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user