mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
[master] Emit log messages when the server is stable
Emit a log message when the server had completed initialization and is about to start dispatching. And emit log messages when both peers in a failover pair have reached the normal state.
This commit is contained in:
@@ -785,6 +785,9 @@ main(int argc, char **argv) {
|
||||
signal(SIGINT, dhcp_signal_handler); /* control-c */
|
||||
signal(SIGTERM, dhcp_signal_handler); /* kill */
|
||||
|
||||
/* Log that we are about to start working */
|
||||
log_info("Server starting service.");
|
||||
|
||||
/*
|
||||
* Receive packets and dispatch them...
|
||||
* dispatch() will return only when we are shutting down.
|
||||
|
Reference in New Issue
Block a user