I've found the problem - it looks like a bug in the code for matching
internal service names to /etc/service names. The code says:
if ((bi->bi_socktype == sep->se_socktype &&
strcmp(bi->bi_service, sep->se_service) == 0) ||
matchservent(bi->bi_service, sep->se_service,
sep->se_proto))
It should probably say:
if (bi->bi_socktype == sep->se_socktype &&
((strcmp(bi->bi_service, sep->se_service) == 0) ||
matchservent(bi->bi_service, sep->se_service,
sep->se_proto)))
It was running the tcp service instead of the udp service.
David.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
- Re: cvs commit: src/usr.sbin/inetd builtin... Andre Albsmeier
- Re: cvs commit: src/usr.sbin/inetd builtins.c ... David Malone
- Re: cvs commit: src/usr.sbin/inetd builtin... Andre Albsmeier
- Re: cvs commit: src/usr.sbin/inetd builtin... Sheldon Hearn
- Re: cvs commit: src/usr.sbin/inetd builtins.c inetd... Dag-Erling Smorgrav
- Re: cvs commit: src/usr.sbin/inetd builtins.c ... Andre Albsmeier
- Re: cvs commit: src/usr.sbin/inetd builtin... Dag-Erling Smorgrav
- Re: cvs commit: src/usr.sbin/inetd bui... Andre Albsmeier
- Re: cvs commit: src/usr.sbin/inetd... Dag-Erling Smorgrav
- Re: cvs commit: src/usr.sbin/... David Malone
- Re: cvs commit: src/usr.sbin/... David Malone
- Re: cvs commit: src/usr.s... Jeroen Ruigrok/Asmodai

