svn commit: r309187 - head/sys/netpfil/ipfw/nat64
Andrey V. Elsukov
ae at FreeBSD.org
Sat Nov 26 10:04:07 UTC 2016
Author: ae
Date: Sat Nov 26 10:04:05 2016
New Revision: 309187
URL: https://svnweb.freebsd.org/changeset/base/309187
Log:
Fix ICMPv6 Time Exceeded error message translation.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
Modified:
head/sys/netpfil/ipfw/nat64/nat64_translate.c
Modified: head/sys/netpfil/ipfw/nat64/nat64_translate.c
==============================================================================
--- head/sys/netpfil/ipfw/nat64/nat64_translate.c Sat Nov 26 07:59:57 2016 (r309186)
+++ head/sys/netpfil/ipfw/nat64/nat64_translate.c Sat Nov 26 10:04:05 2016 (r309187)
@@ -1256,9 +1256,9 @@ nat64_handle_icmp6(struct mbuf *m, int h
*/
mtu -= sizeof(struct ip6_hdr) - sizeof(struct ip);
break;
- case ICMP6_TIME_EXCEED_TRANSIT:
+ case ICMP6_TIME_EXCEEDED:
type = ICMP_TIMXCEED;
- code = ICMP_TIMXCEED_INTRANS;
+ code = icmp6->icmp6_code;
break;
case ICMP6_PARAM_PROB:
switch (icmp6->icmp6_code) {
More information about the svn-src-all
mailing list