You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
388 B
Diff
12 lines
388 B
Diff
--- a/src/net.c
|
|
+++ b/src/net.c
|
|
@@ -114,7 +114,7 @@
|
|
fromhost(&wrap_req);
|
|
if(!hosts_access(&wrap_req)){
|
|
/* Access is denied */
|
|
- if(!mosquitto__socket_get_address(new_sock, address, 1024)){
|
|
+ if(!net__socket_get_address(new_sock, address, 1024)){
|
|
log__printf(NULL, MOSQ_LOG_NOTICE, "Client connection from %s denied access by tcpd.", address);
|
|
}
|
|
COMPAT_CLOSE(new_sock);
|