From 93d454bea9c2ef0f92ccfe1c80d09583769716f3 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 8 Aug 1995 15:27:13 +0000 Subject: Formerly udp.c.~2~ --- pfinet/linux-inet/udp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pfinet/linux-inet') diff --git a/pfinet/linux-inet/udp.c b/pfinet/linux-inet/udp.c index 74912cbd..7af27e4f 100644 --- a/pfinet/linux-inet/udp.c +++ b/pfinet/linux-inet/udp.c @@ -145,7 +145,7 @@ void udp_err(int err, unsigned char *header, unsigned long daddr, #else if (icmp_err_convert[err & 0xff].fatal) { - sk->err = icmp_err_convert[err & 0xff].errno; + sk->err = icmp_err_convert[err & 0xff].error; sk->error_report(sk); } #endif @@ -405,6 +405,7 @@ static int udp_write(struct sock *sk, unsigned char *buff, int len, int noblock, } +#ifndef _HURD_ /* * IOCTL requests applicable to the UDP protocol */ @@ -457,7 +458,7 @@ int udp_ioctl(struct sock *sk, int cmd, unsigned long arg) } return(0); } - +#endif /* * This should be easy, if there is something there we\ -- cgit v1.2.3