Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Mar 2004 10:51:13 +0000
From:      David Malone <dwmalone@maths.tcd.ie>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        dwmalone@freebsd.org
Subject:   Re: inetd needs "discard" service in /etc/services 
Message-ID:  <200403121051.aa75277@salmon.maths.tcd.ie>
In-Reply-To: Your message of "Thu, 11 Mar 2004 17:00:01 PST." <20040312010000.GA9949@Odin.AC.HMC.Edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403121051.aa75277>