From 70e3914ef6a070fb0f58fb3e1bd0b05e5d549004 Mon Sep 17 00:00:00 2001 From: hwware Date: Wed, 3 Jul 2024 14:28:53 +0000 Subject: [PATCH] update CLIENT_UNIX_SOCKET to c->flag.unix_socket Signed-off-by: hwware --- src/trusted_network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trusted_network.c b/src/trusted_network.c index b9630652a6..b3f7feb309 100644 --- a/src/trusted_network.c +++ b/src/trusted_network.c @@ -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; }