Fix ICMPv6 Time Exceeded error message translation.
Obtained from: Yandex LLC Sponsored by: Yandex LLC
This commit is contained in:
parent
104b0f4a1c
commit
c5f2dbb625
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309187
@ -1256,9 +1256,9 @@ nat64_handle_icmp6(struct mbuf *m, int hlen, uint32_t aaddr, uint16_t aport,
|
||||
*/
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user