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

Reply via email to