Date: Thu, 25 Dec 2003 03:23:58 +0900 From: Hajimu UMEMOTO <ume@mahoroba.org> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: Sean McNeil <sean@mcneil.com> Subject: Re: sys/netinet/ip_fw2.c fails to compile Message-ID: <ygebrpy8475.wl%ume@mahoroba.org> In-Reply-To: <Pine.BSF.4.53.0312240821390.74127@e0-0.zab2.int.zabbadoz.net> References: <1072199407.17290.1.camel@server.mcneil.com> <20031224111720.W84575@news1.macomnet.ru> <Pine.BSF.4.53.0312240821390.74127@e0-0.zab2.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >>>>> On Wed, 24 Dec 2003 08:32:27 +0000 (UTC) >>>>> "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> said: bzeeb> so some patch like this looks ok to me: bzeeb> --- src-20031223-01/sys/netinet/ip_fw2.c.orig Tue Dec 23 20:25:20 2003 bzeeb> +++ src-20031223-01/sys/netinet/ip_fw2.c Tue Dec 23 20:26:28 2003 bzeeb> @@ -1915,7 +1915,7 @@ bzeeb> PACKET_TAG_IPSEC_IN_DONE, NULL) != NULL); bzeeb> #endif bzeeb> #ifdef IPSEC bzeeb> - match = (ipsec_getnhist(m) != NULL); bzeeb> + match = (ipsec_getnhist(m) != 0); bzeeb> #endif bzeeb> /* otherwise no match */ bzeeb> break; Thanks, committed. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygebrpy8475.wl%ume>