any interfaces. This was caused by an overzealous validity check.
* FIX: Compilation on Tru64 systems was broken, since libtool's acinclude.m4
file on the packagers system did not contain the necessary patch.
+* FIX: On some systems, atalkd refuses to start, since it couldn't detect
+ any interfaces. This was caused by an overzealous validity check.
Changes from 1.5rc1
===================
int ifrsize, i = 0;
char **new;
- if (!list || *length < 1)
+ if (!list)
return 0;
memset( &ifc, 0, sizeof( struct ifconf ));
char **getifacelist()
{
char **list;
- char **new;
int length, i, fd;
if ((fd = socket(PF_INET, SOCK_STREAM, 0)) < 0)
}
close(fd);
- if ((i < length) &&
- (new = (char **) realloc(list, (i + 1) * sizeof(char *))))
- return new;
-
return list;
}