Date: Sun, 10 Jan 2016 11:30:21 +0300 From: Alexander V. Chernikov <melifaro@ipfw.ru> To: Bjoern A. Zeeb <bz@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r293629 - head/sys/netpfil/ipfw Message-ID: <274801452414621@web1j.yandex.ru> In-Reply-To: <201601100814.u0A8EQXw022553@repo.freebsd.org> References: null <201601100814.u0A8EQXw022553@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I thought IP-less kernels have no reason to compile ipfw at all, am I wrong? 10.01.2016, 11:14, "Bjoern A. Zeeb" <bz@FreeBSD.org>: > Author: bz > Date: Sun Jan 10 08:14:25 2016 > New Revision: 293629 > URL: https://svnweb.freebsd.org/changeset/base/293629 > > Log: > Initialize error after r293626 in case neither INET nor INET6 is > compiled into the kernel. Ideally lots more code would just not > be called (or compiled in) in that case but that requires a lot > more surgery. For now try to make IP-less kernels compile again. > > Modified: > head/sys/netpfil/ipfw/ip_fw_table_algo.c > > Modified: head/sys/netpfil/ipfw/ip_fw_table_algo.c > ============================================================================== > --- head/sys/netpfil/ipfw/ip_fw_table_algo.c Sun Jan 10 07:50:35 2016 (r293628) > +++ head/sys/netpfil/ipfw/ip_fw_table_algo.c Sun Jan 10 08:14:25 2016 (r293629) > @@ -3826,6 +3826,9 @@ ta_lookup_kfib(struct table_info *ti, vo > error = fib6_lookup_nh_basic(ti->data, > (struct in6_addr *)key, 0, 0, 0, &nh6); > #endif > +#if !defined(INET6) && !defined(INET) > + error = ENOENT; > +#endif > > if (error != 0) > return (0);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?274801452414621>