From nobody Wed Jun 14 03:59:04 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qgs9h6nZHz4dptj; Wed, 14 Jun 2023 03:59:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qgs9h6BPjz42VM; Wed, 14 Jun 2023 03:59:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686715144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6C03waSbrBKJYnoM86N8arHkXeX//PFvAyo0kp/Qfoo=; b=eNGAzhMs54Qg/ICPdXN/W9rE3WCi/u2gM5mqu++7n/d78Y78SKGdsacU/ecdiUkM7bg4IC NRTZys19gGpZKjRf9TspXGICnFhoCmtq/exlhG+TD+E+zk0HmimNgltfTo8d+wFh0IsoJz 4ovx1SCA60s5efKutuq6P1HMXDnWE2QsYuHPmjopzZWB+nRIzouBe1bgGyQ8o10gUfqrNt QjGdmMwIzA6/vpOc82+zJajI03vIu8ihb59XjN00CU+2TahY1JV7HQjJvMzzfUmjTNWkFY G761IJ9zV5GzeQy4IbllRyPsiMNBFxPPm6YlCCigX5BZdkPRSr+IH43Y0uYFVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686715144; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6C03waSbrBKJYnoM86N8arHkXeX//PFvAyo0kp/Qfoo=; b=l5OZubUYr5myYZjeZsU+mMiOVXJASzVezzdOuiWh+PsjWntBq57doex7in9FQxMuUy3lH2 god7c7gc113xDVqdKf0jAVrAreUVkswzuzBoJSu1CPUTB2RN2J1OE037PMokq3ujrNdMss Dlwn1Vn9jzR77YAoAtS96qHfpdIhFXPLwNyjA36GyPTe7aCvJfPodpBKHVvSvwWCjj5dyg p+doNKF9gN9f0qIH3dQWKO2v4GNJF5SG20AWhDubaING7sNRUH2GcJWvBjiJcsB+bYV0CZ gCsGHGlf7hLG3oAOvPFh7/KvDgc2TLFNGFpwsL54Rr2Md9RCJwUYbgJ7pywizg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686715144; a=rsa-sha256; cv=none; b=t/9q4nurFzq5gQ/7e3khEwDo54+2T48LeHn9jywZG68i8pNqTgfUY0mG5B9+2Za0naKPjm LdQ+I9wUr8Pc5QhLYDeSyqZHjptlKLVBz/MDevlQYCbUSnuhvVVx+gRrB7EekGd7/y+g+x aj0ZmnUzIBIdYAcsRwJnZwABSjDF2x4/ELXbQ/KFo4xHufp3NswzHCjDikTnV7TB3Klx7T R5070E4p8u6SG1ZrYE4xUKSi0W7afKN3eFbL0puZsoee7VT27YQMKp/vJEdtgNlCe4gKfd PYPi/TgPnweQi5yerjDIu8bodTt7FH64q08100NLbj7OzXdjzbDYnfqLDubBkQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qgs9h59Xszpcr; Wed, 14 Jun 2023 03:59:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35E3x4qx060842; Wed, 14 Jun 2023 03:59:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35E3x4fJ060841; Wed, 14 Jun 2023 03:59:04 GMT (envelope-from git) Date: Wed, 14 Jun 2023 03:59:04 GMT Message-Id: <202306140359.35E3x4fJ060841@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 171a7bbfc048 - main - tcpdump: fix build with WITHOUT_PF=1 List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 171a7bbfc04885150401ab64d96793373a8b2061 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=171a7bbfc04885150401ab64d96793373a8b2061 commit 171a7bbfc04885150401ab64d96793373a8b2061 Author: Gleb Smirnoff AuthorDate: 2023-06-14 03:58:36 +0000 Commit: Gleb Smirnoff CommitDate: 2023-06-14 03:58:36 +0000 tcpdump: fix build with WITHOUT_PF=1 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[] = { #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