server: some minor fixes

This commit is contained in:
Nick Peng
2022-07-05 23:32:22 +08:00
parent 092b4ede88
commit 7d62226995
4 changed files with 76 additions and 38 deletions

View File

@@ -397,7 +397,7 @@ static int _smartdns_run(void)
static void _smartdns_exit(void)
{
tlog(TLOG_INFO, "smartdns starting exit...");
tlog(TLOG_INFO, "smartdns exit...");
dns_server_exit();
dns_client_exit();
fast_ping_exit();
@@ -408,7 +408,7 @@ static void _smartdns_exit(void)
static void _sig_exit(int signo)
{
tlog(TLOG_INFO, "start stop smartdns");
tlog(TLOG_INFO, "stop smartdns by signal %d", signo);
dns_server_stop();
}