summaryrefslogtreecommitdiff
path: root/pfinet/linux-inet
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/linux-inet')
-rw-r--r--pfinet/linux-inet/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/linux-inet/tcp.c b/pfinet/linux-inet/tcp.c
index f5791770..78c36358 100644
--- a/pfinet/linux-inet/tcp.c
+++ b/pfinet/linux-inet/tcp.c
@@ -800,7 +800,7 @@ void tcp_err(int err, unsigned char *header, unsigned long daddr,
tcp_set_state(sk,TCP_CLOSE);
sk->error_report(sk); /* Wake people up to see the error (see connect in sock.c) */
}
- sk->err = icmp_err_convert[err & 0xff].errno;
+ sk->err = icmp_err_convert[err & 0xff].error;
}
return;
}