svn commit: r201517 - in user/luigi/ipfw3-head/sys/netinet: . ipfw

Ermal Luçi eri at freebsd.org
Tue Jan 5 18:07:20 UTC 2010


On Mon, Jan 4, 2010 at 5:58 PM, Luigi Rizzo <luigi at freebsd.org> wrote:

> Author: luigi
> Date: Mon Jan  4 16:58:15 2010
> New Revision: 201517
> URL: http://svn.freebsd.org/changeset/base/201517
>
> Log:
>  divert has no specific API so we don't really need an ip_divert.h
>
>
>  DECLARE_MODULE(ipdivert, ipdivertmod, SI_SUB_PROTO_IFATTACHDOMAIN,
> SI_ORDER_ANY);
> -MODULE_DEPEND(dummynet, ipfw, 2, 2, 2);
> +MODULE_DEPEND(ipdivert, ipfw, 2, 2, 2);
>  MODULE_VERSION(ipdivert, 1);
>

I would suggest to remove the dependency altogether  since divert(4) does
not really depend on ipfw(4). Furthermore, the newest pf(4) can work
together with divert(4) so the it will have more than one consumer in the
tree.

-- 
Ermal


More information about the svn-src-user mailing list