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

Collapse All | Expand All

(-)nsd-2.3.4/server.c (+4 lines)
Lines 912-922 Link Here
912
	assert(buffer_position(data->query->packet) == data->query->tcplen);
912
	assert(buffer_position(data->query->packet) == data->query->tcplen);
913
913
914
	/* Account... */
914
	/* Account... */
915
#if defined(INET6)
915
	if (data->query->addr.ss_family == AF_INET) {
916
	if (data->query->addr.ss_family == AF_INET) {
916
		STATUP(data->nsd, ctcp);
917
		STATUP(data->nsd, ctcp);
917
	} else if (data->query->addr.ss_family == AF_INET6) {
918
	} else if (data->query->addr.ss_family == AF_INET6) {
918
		STATUP(data->nsd, ctcp6);
919
		STATUP(data->nsd, ctcp6);
919
	}
920
	}
921
#else
922
	STATUP(data->nsd, ctcp);
923
#endif
920
924
921
	/* We have a complete query, process it.  */
925
	/* We have a complete query, process it.  */
922
926

Return to bug 128246