Skip to content

Commit

Permalink
Update error message
Browse files Browse the repository at this point in the history
Signed-off-by: hwware <[email protected]>
  • Loading branch information
hwware committed Jul 9, 2024
1 parent 925a7f9 commit 5950bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ void acceptCommonHandler(connection *conn, struct ClientFlags flags, char *ip, c
if (!checkTrustedIP(ip_addr)) {
serverLog(LL_VERBOSE, "Access denied as connection is not from trusted source");

char *err = "-ERR client's IP address is not found in trusted-addresses list, access denied\r\n";
char *err = "-ERR client's IP is not found in trusted-addresses list, access denied\r\n";

/* That's a best effort error message, don't check write errors */
if (connWrite(conn, err, strlen(err)) == -1) {
Expand Down

0 comments on commit 5950bf7

Please sign in to comment.