[ds6-devel] unsupported sock warning
Chris Leishman
chris@leishman.org
Sun Dec 29 15:20:14 2002
- Previous message: [ds6-devel] nc6/src netsupport.c,NONE,1.3.2.1
netsupport.h,NONE,1.1.2.1
rt_config.c,NONE,1.1.2.1 rt_config.h,NONE,1.1.2.1
Makefile.am,1.6,1.6.2.1 filter.c,1.11,1.11.2.1 misc.h,1.11,1.11.2.1
network.c,1.20,1.20.2.1 parser.c,1.15.2.1,1.15.2.2
- Next message: [ds6-devel] unsupported sock warning
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
In the updated network.c:
if (unsupported_sock_error(errno)) {
/* maybe tell the user that this behaviour is
* related to a weird implementation of
* getaddrinfo on his system? */
warn("cannot create the socket: %s", strerror(errno));
errno = 0;
continue;
}
Is there any need for this warning at all? We're realised that the
socket isn't supported on the platform and dealt with it....so why
bother the user?
If you think we do need it, then perhaps it should be only shown in
very verbose mode? And perhaps rewrite it to "cannot create socket
with family %d, socktype %d and protocol %d"?
Regards,
Chris
- Previous message: [ds6-devel] nc6/src netsupport.c,NONE,1.3.2.1
netsupport.h,NONE,1.1.2.1
rt_config.c,NONE,1.1.2.1 rt_config.h,NONE,1.1.2.1
Makefile.am,1.6,1.6.2.1 filter.c,1.11,1.11.2.1 misc.h,1.11,1.11.2.1
network.c,1.20,1.20.2.1 parser.c,1.15.2.1,1.15.2.2
- Next message: [ds6-devel] unsupported sock warning
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ds6-devel
mailing list