]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ipfw_nat64: fix direct output mode
authorAndrey V. Elsukov <ae@FreeBSD.org>
Thu, 26 Aug 2021 10:48:23 +0000 (13:48 +0300)
committerAndrey V. Elsukov <ae@FreeBSD.org>
Thu, 26 Aug 2021 10:48:23 +0000 (13:48 +0300)
commitda3a09d8941dc29f20447e263b3a6d60370c6203
tree42ebe06cdc81f8a12c504dd667ff2afb9b462448
parent9da8235cc843364bd2df7a4d6fcd8c1be7ca67c0
ipfw_nat64: fix direct output mode

In nat64_find_route[46] handle NHF_GATEWAY flag and use destination
address from next hop to do link layer address lookup.

PR: 255928
Reviewed by: melifaro
Obtained from: Yandex LLC
MFC after: 1 week
Sponsored by: Yandex LLC
Differential Revision: https://reviews.freebsd.org/D31680
sys/netpfil/ipfw/nat64/nat64_translate.c