From d6b21daa9cf001c350dac15221f87527239a8f4a Mon Sep 17 00:00:00 2001 From: Max Lv Date: Mon, 21 Jan 2019 12:26:27 +0800 Subject: [PATCH] Refine ACL log --- src/local.c | 2 ++ src/server.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/local.c b/src/local.c index 845ab2a7..594c82b9 100644 --- a/src/local.c +++ b/src/local.c @@ -1684,6 +1684,7 @@ main(int argc, char **argv) ipv6first = conf->ipv6_first; } if (acl == 0) { + LOGI("initializing acl..."); acl = !init_acl(conf->acl); } } @@ -2011,6 +2012,7 @@ _start_ss_local_server(profile_t profile, ss_local_callback callback, void *udat USE_LOGFILE(log); if (profile.acl != NULL) { + LOGI("initializing acl..."); acl = !init_acl(profile.acl); } diff --git a/src/server.c b/src/server.c index fc79b51d..1f9fa059 100644 --- a/src/server.c +++ b/src/server.c @@ -1818,6 +1818,7 @@ main(int argc, char **argv) ipv6first = conf->ipv6_first; } if (acl == 0) { + LOGI("initializing acl..."); acl = !init_acl(conf->acl); } }