Date: Thu, 19 Apr 2007 07:39:15 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 118399 for review Message-ID: <200704190739.l3J7dFng023292@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118399 Change 118399 by zec@zec_tca51 on 2007/04/19 07:38:43 Fix to allow compilation with nooptions VIMAGE. Affected files ... .. //depot/projects/vimage/src/sys/contrib/pf/net/pf_ioctl.c#5 edit Differences ... ==== //depot/projects/vimage/src/sys/contrib/pf/net/pf_ioctl.c#5 (text+ko) ==== @@ -401,10 +401,14 @@ callout_reset(&V_pf_expire_to, my_timeout[PFTM_INTERVAL] * hz, pf_purge_timeout, curvnet); -if (curvnet == &vnet_0) { +#ifdef VIMAGE + if (curvnet == &vnet_0) { +#endif pf_normalize_init(); pf_pfil_hooked = 0; -} +#ifdef VIMAGE + } +#endif bzero(&V_pf_status, sizeof(V_pf_status)); /* XXX do our best to avoid a conflict */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704190739.l3J7dFng023292>