cvs commit: src/sys/netinet6 ip6_input.c
Hajimu UMEMOTO
ume at mahoroba.org
Thu Oct 16 12:20:53 PDT 2003
Hi,
>>>>> On Thu, 16 Oct 2003 11:57:46 -0700 (PDT)
>>>>> Sam Leffler <sam at FreeBSD.org> said:
sam> pfil hooks can modify packet contents so check if the destination
sam> address has been changed when PFIL_HOOKS is enabled and, if it has,
sam> arrange for the proper action by ip*_forward.
Is following chunk is intentional?
@@ -356,6 +365,7 @@ ip6_input(m)
*/
if (ip6_fw_enable && ip6_fw_chk_ptr) {
u_short port = 0;
+ srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst);
/* If ipfw says divert, we have to just drop packet */
/* use port as a dummy argument */
if ((*ip6_fw_chk_ptr)(&ip6, NULL, &port, &m)) {
Sincerely,
--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org ume at bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
More information about the cvs-src
mailing list