From nobody Mon Dec 11 16:37:16 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 4SpnTS2W4Tz53pGP; Mon, 11 Dec 2023 16:37:16 +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 4SpnTS1zF9z4L37; Mon, 11 Dec 2023 16:37:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702312636; 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=OdsCzoyNwbNixhoTdKYZhPL0HXlPNhR34wnpEIuShM0=; b=igf9L7zKDhS5PsolXA9uEiDPhJ2EtqPf7B/HqHXHwTYEc26wBd+GfjXi055NCx5ZgFghvM lMrx6aKfbI7RsO/fTJzK7IXtGANWmpb8216TRL72/VObMDyEzzqNQ/G4+MUEl6wbGbsgRj 1P/lEniA8DyPf7+QjhNTZgwSUZD7hHYuvr61P+Cc9kpvrxD6A9Fy97Mn+ebb5ULwMXVzKj tKMM6j0qBHWFme3YHnzTbj5M8TDlUS4N5JLuGsv6q/NfLNZ2QyiP03fu8pk/9uIRnJS/sg 0aheNY581ipINRdpzg0aAniOxyEUZD9QnY1jNBPYlsGpZfsAsEDOBHKWLwFMVw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702312636; a=rsa-sha256; cv=none; b=LN1NU7IT2xj3fjh67zkYgkIYpOHgeey2IZ4O8H4qy68hzqNREXoSJUENyeKiUPwvqWO963 Rgequn3DAZdgzixx+xUmrYwV0WT9/lNc6l81kwrynwnF3rcFpuwQXLJFdWYzHp6bQLdVuK CMxwqVZBWhn+Pshfsawka67K+5tcd1ApJjEdSS+aQ/t2Lft/rQvJ6Qb6oD8Dfj+RVjZlaN H6U60+JmsnDd0QB87pApA06lLVRUVHjOcK5FfmxYUWfWiyR9WILEHKIY7Mw7fINwWeNIeg MC73f5bEP8XfjPNq21JLD2OsNT6h2zMf2WNDDOt8m8lGjT4/fPGQM2njoGkG8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702312636; 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=OdsCzoyNwbNixhoTdKYZhPL0HXlPNhR34wnpEIuShM0=; b=uP8H9tWPD8x8mJ7qVjV45gcb9k8cA6WPvb7KH6hJLF9HYR033trEbKnXR3f6GnUBLJ5dQ8 LBMQXBh6T3jAVIVxCTjEhk7z97o6yNhbE+idw70kzOfx5+6OEn4aUABAxDHb/mA8oXlZtv wecBQdHP/r6Wo74TmGl2+uomNcIayJ7nbkhIjNWgI/RoKl8NXXczg0XXE2y9LNklLVzNIb 6Ktezy7SPbyEqyaolX4Gj901C4wbaEHQA5bkGHLdelmCmehT8O50mwkgVBp5UotxudEPW6 xNJqNu/dyS+ISC5T2pZWvUBVteSvAp/bWA3c9Pg5Z/hwbTBj/R5WNumUCGZNqw== 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 4SpnTS11bszdqc; Mon, 11 Dec 2023 16:37:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3BBGbGpK005712; Mon, 11 Dec 2023 16:37:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3BBGbGa5005709; Mon, 11 Dec 2023 16:37:16 GMT (envelope-from git) Date: Mon, 11 Dec 2023 16:37:16 GMT Message-Id: <202312111637.3BBGbGa5005709@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kristof Provost Subject: git: 99bcbef25a7a - main - libpfctl: remove stray debug printf() 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: kp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 99bcbef25a7a96f3d4525cc48bf9f0a177194694 Auto-Submitted: auto-generated The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=99bcbef25a7a96f3d4525cc48bf9f0a177194694 commit 99bcbef25a7a96f3d4525cc48bf9f0a177194694 Author: Kristof Provost AuthorDate: 2023-12-11 13:35:42 +0000 Commit: Kristof Provost CommitDate: 2023-12-11 15:53:38 +0000 libpfctl: remove stray debug printf() Sponsored by: Rubicon Communications, LLC ("Netgate") --- lib/libpfctl/libpfctl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/libpfctl/libpfctl.c b/lib/libpfctl/libpfctl.c index 513d2d0f01be..10a63f15e2f8 100644 --- a/lib/libpfctl/libpfctl.c +++ b/lib/libpfctl/libpfctl.c @@ -1108,10 +1108,8 @@ pfctl_add_rule(int dev __unused, const struct pfctl_rule *r, const char *anchor, seq_id = hdr->nlmsg_seq; - if (! snl_send_message(&ss, hdr)) { - printf("Send failed\n"); + if (! snl_send_message(&ss, hdr)) return (ENXIO); - } while ((hdr = snl_read_reply_multi(&ss, seq_id, &e)) != NULL) { }