inetd needs "discard" service in /etc/services
David Malone
dwmalone at maths.tcd.ie
Fri Mar 12 02:51:16 PST 2004
> I would like to commit the following patch. It changes the port from
> discard to syslog and documents the dependency. I choose syslog because
> it really does need to be in /etc/services on most machines since it
> starts before NIS. I'll also file a PR against inetd in hopes that
> someone gets board enough to fix it some day.
getaddrinfo can also accept numeric service names (ie. port numbers
in the case of UDP/TCP). I wonder if it would be better to just
replace the service name with "1" or some such? I guess that would
also fix your problem.
David.
More information about the freebsd-hackers
mailing list