Skip to content

Commit

Permalink
update CLIENT_UNIX_SOCKET to c->flag.unix_socket
Browse files Browse the repository at this point in the history
Signed-off-by: hwware <[email protected]>
  • Loading branch information
hwware committed Jul 3, 2024
1 parent 61db3cd commit 70e3914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/trusted_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ int checkTrustedIP(in_addr_t ip) {
}

int isUnixNetwork(client *c) {
return c->flags & CLIENT_UNIX_SOCKET;
return c->flag.unix_socket;
}


Expand Down

0 comments on commit 70e3914

Please sign in to comment.