Date: Tue, 27 Mar 2001 10:48:26 -0600 From: Jonathan Lemon <jlemon@flugsvamp.com> To: Jesper Skriver <jesper@skriver.dk> Cc: Jonathan Lemon <jlemon@flugsvamp.com>, Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>, Bill Fenner <fenner@research.att.com>, net@freebsd.org, jlemon@freebsd.org Subject: Re: 4.3 issue: new ICMP handling broke date(1) Message-ID: <20010327104826.P93687@prism.flugsvamp.com> In-Reply-To: <20010327183646.A75484@skriver.dk> References: <200103261557.JAA08568@windsor.research.att.com> <20010327124531.O68667@daemon.ninth-circle.org> <20010327131246.A71551@skriver.dk> <20010327101922.N93687@prism.flugsvamp.com> <20010327183646.A75484@skriver.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 27, 2001 at 06:36:46PM +0200, Jesper Skriver wrote: > On Tue, Mar 27, 2001 at 10:19:22AM -0600, Jonathan Lemon wrote: > > > > I forget why I picked ENETRESET; probably because it was the first > > thing that leaped out at me when I quickly skimmed over <sys/errno.h> > > looking for an appropriate error code; but I didn't consider the UDP > > case. > > That is the below diff > > Index: src/sys/netinet/ip_input.c > =================================================================== > RCS file: /home/ncvs/src/sys/netinet/ip_input.c,v > retrieving revision 1.130.2.21 > diff -u -r1.130.2.21 ip_input.c > --- src/sys/netinet/ip_input.c 2001/03/08 23:14:54 1.130.2.21 > +++ src/sys/netinet/ip_input.c 2001/03/27 16:35:15 > @@ -1484,7 +1484,7 @@ > EHOSTUNREACH, EHOSTUNREACH, ECONNREFUSED, ECONNREFUSED, > EMSGSIZE, EHOSTUNREACH, 0, 0, > 0, 0, 0, 0, > - ENOPROTOOPT, ENETRESET > + ENOPROTOOPT, ECONNREFUSED > }; Yes, I think this probably is the best approach; just get rid of the ENETRESET altogether for this case. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010327104826.P93687>