sys/netinet/ip_fw2.c fails to compile

Hajimu UMEMOTO ume at mahoroba.org
Wed Dec 24 10:24:15 PST 2003


Hi,

>>>>> On Wed, 24 Dec 2003 08:32:27 +0000 (UTC)
>>>>> "Bjoern A. Zeeb" <bzeeb-lists at 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 at mahoroba.org  ume at bisd.hitachi.co.jp  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-current mailing list