summaryrefslogtreecommitdiff
path: root/pfinet/linux-inet
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-08 15:27:13 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-08 15:27:13 +0000
commit93d454bea9c2ef0f92ccfe1c80d09583769716f3 (patch)
treec382b5c0930c8a3c55f4b978718f9b966e23c4db /pfinet/linux-inet
parent2ca05b001ea8d1eff3031fc28a6175d9113e324b (diff)
Formerly udp.c.~2~
Diffstat (limited to 'pfinet/linux-inet')
-rw-r--r--pfinet/linux-inet/udp.c5
1 files changed, 3 insertions, 2 deletions
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\