Date: Wed, 14 Jun 2023 07:32:59 +0000 From: Gary Jennejohn <garyj@gmx.de> To: Gleb Smirnoff <glebius@FreeBSD.org> Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 171a7bbfc048 - main - tcpdump: fix build with WITHOUT_PF=1 Message-ID: <20230614093259.0e4a662c@ernst.home> In-Reply-To: <202306140359.35E3x4fJ060841@gitrepo.freebsd.org> References: <202306140359.35E3x4fJ060841@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Jun 2023 03:59:04 GMT Gleb Smirnoff <glebius@FreeBSD.org> wrote: > The branch main has been updated by glebius: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3D171a7bbfc04885150401ab64d= 96793373a8b2061 > > commit 171a7bbfc04885150401ab64d96793373a8b2061 > Author: Gleb Smirnoff <glebius@FreeBSD.org> > AuthorDate: 2023-06-14 03:58:36 +0000 > Commit: Gleb Smirnoff <glebius@FreeBSD.org> > CommitDate: 2023-06-14 03:58:36 +0000 > > tcpdump: fix build with WITHOUT_PF=3D1 > > Fixes: ee67461e56828dd1f8de165947ba83f6d9148a87 > --- > contrib/tcpdump/print.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/contrib/tcpdump/print.c b/contrib/tcpdump/print.c > index 9c0ab8622de1..42a4548e8689 100644 > --- a/contrib/tcpdump/print.c > +++ b/contrib/tcpdump/print.c > @@ -185,7 +185,7 @@ static const struct printer printers[] =3D { > #ifdef DLT_LOOP > { null_if_print, DLT_LOOP }, > #endif > -#ifdef DLT_PFLOG > +#if defined(DLT_PFLOG) && defined(HAVE_NET_IF_PFLOG_H) > { pflog_if_print, DLT_PFLOG }, > #endif > #ifdef DLT_PKTAP > Thank you, Gleb! =2D- Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230614093259.0e4a662c>