mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-25 17:22:55 +00:00
refactor: add code comment.
This commit is contained in:
parent
2050adfdc5
commit
cd89dd6726
|
|
@ -108,7 +108,7 @@ int connect(int sockfd, const struct sockaddr *addr, socklen_t addrlen) {
|
|||
|
||||
if (banned_env && *banned_env && match_env_patterns(ip, banned_env)) {
|
||||
fprintf(stderr, "[sandbox] 🚫 Access to host %s is banned\n", ip);
|
||||
errno = EACCES;
|
||||
errno = EACCES; // EACCES 的值是 13, 意思是 Permission denied
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue