Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 656572 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/conf.c (-1 / +1 lines)
Lines 735-742 int config__read_file_core(struct mosquitto__config *config, bool reload, struct Link Here
735
	struct mosquitto__listener *cur_listener = &config->default_listener;
735
	struct mosquitto__listener *cur_listener = &config->default_listener;
736
#ifdef WITH_BRIDGE
736
#ifdef WITH_BRIDGE
737
	char *address;
737
	char *address;
738
	int i;
739
#endif
738
#endif
739
	int i;
740
	int lineno_ext;
740
	int lineno_ext;
741
	struct mosquitto__security_options *cur_security_options = NULL;
741
	struct mosquitto__security_options *cur_security_options = NULL;
742
742
(-)a/src/net.c (-1 / +1 lines)
Lines 114-120 int net__socket_accept(struct mosquitto_db *db, mosq_sock_t listensock) Link Here
114
	fromhost(&wrap_req);
114
	fromhost(&wrap_req);
115
	if(!hosts_access(&wrap_req)){
115
	if(!hosts_access(&wrap_req)){
116
		/* Access is denied */
116
		/* Access is denied */
117
		if(!mosquitto__socket_get_address(new_sock, address, 1024)){
117
		if(!net__socket_get_address(new_sock, address, 1024)){
118
			log__printf(NULL, MOSQ_LOG_NOTICE, "Client connection from %s denied access by tcpd.", address);
118
			log__printf(NULL, MOSQ_LOG_NOTICE, "Client connection from %s denied access by tcpd.", address);
119
		}
119
		}
120
		COMPAT_CLOSE(new_sock);
120
		COMPAT_CLOSE(new_sock);

Return to bug 656572