Browse Source

Refine ACL log

pull/2274/head
Max Lv 5 years ago
parent
commit
d6b21daa9c
2 changed files with 3 additions and 0 deletions
  1. 2
      src/local.c
  2. 1
      src/server.c

2
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);
}

1
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);
}
}

Loading…
Cancel
Save