Re: sys/netinet/ip_fw2.c fails to compile

From: Hajimu UMEMOTO <ume_at_mahoroba.org>
Date: Thu, 25 Dec 2003 03:23:58 +0900
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> _at__at_ -1915,7 +1915,7 _at__at_
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 _at_ Internet Mutual Aid Society Yokohama, Japan
ume_at_mahoroba.org  ume_at_bisd.hitachi.co.jp  ume_at_{,jp.}FreeBSD.org
http://www.imasy.org/~ume/
Received on Wed Dec 24 2003 - 09:24:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC