From owner-cvs-lib Wed Aug 2 02:14:30 1995 Return-Path: cvs-lib-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id CAA25434 for cvs-lib-outgoing; Wed, 2 Aug 1995 02:14:30 -0700 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id CAA25423 ; Wed, 2 Aug 1995 02:14:26 -0700 Date: Wed, 2 Aug 1995 02:14:26 -0700 From: Bill Paul Message-Id: <199508020914.CAA25423@freefall.cdrom.com> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/rpc clnt_udp.c Sender: cvs-lib-owner@freebsd.org Precedence: bulk wpaul 95/08/02 02:14:25 Modified: lib/libc/rpc clnt_udp.c Log: Reviewed by: David Greenman Back out the 'help NIS rebind faster' hack. This change used a connect()/send() pair rather than the original sendto() to allow RPC to pass ICMP host unreachable and similar errors up to RPC programs that use UDP. This is not a terrible thing by itself, but it can cause trouble in environments with multi-homed hosts: if the portmapper on the multi-homed machine sends a reply with a source address that's different than the one associated with the connection by connect(), the kernel will send a port unreachable message and drop the reply. For the sake of compatibility with everybody else on the planet, it's best to revert to the old behavior. *long, heavy sigh*