summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pfinet/linux-inet/raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfinet/linux-inet/raw.c b/pfinet/linux-inet/raw.c
index 514823c4..b7d34a37 100644
--- a/pfinet/linux-inet/raw.c
+++ b/pfinet/linux-inet/raw.c
@@ -81,7 +81,7 @@ void raw_err (int err, unsigned char *header, unsigned long daddr,
return;
}
- sk->err = icmp_err_convert[err & 0xff].errno;
+ sk->err = icmp_err_convert[err & 0xff].error;
sk->error_report(sk);
return;