Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 208411
Collapse All | Expand All

(-)util-linux-2.13-r2/work/util-linux-ng-2.13/login-utils/checktty.c~ (-1 / +5 lines)
Lines 303-309 Link Here
303
303
304
	memset(&hints, 0, sizeof(hints));
304
	memset(&hints, 0, sizeof(hints));
305
	hints.ai_family = AF_UNSPEC;
305
	hints.ai_family = AF_UNSPEC;
306
	hints.ai_flags = AI_NUMERICHOST |  AI_PASSIVE | AI_ADDRCONFIG;
306
#if defined(__UCLIBC__) && __UCLIBC_SUBLEVEL__ <= 28
307
	hints.ai_flags = AI_NUMERICHOST |  AI_PASSIVE;
308
#else
309
        hints.ai_flags = AI_NUMERICHOST |  AI_PASSIVE | AI_ADDRCONFIG;
310
#endif
307
	hints.ai_socktype = SOCK_STREAM;
311
	hints.ai_socktype = SOCK_STREAM;
308
312
309
	for (item = alist; item->range; item++) {
313
	for (item = alist; item->range; item++) {

Return to bug 208411