From nobody Tue Nov 12 03:28:18 2024 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 4XnX1Z5RzBz5d45J; Tue, 12 Nov 2024 03:28:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XnX1Z2MSbz45x8; Tue, 12 Nov 2024 03:28:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731382098; 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=uXiDx28DpWCDhPYgUbYF4yrjgWmkCFmHxpSFXihvQ5g=; b=uQ2DM8i2XYHgwvjqotMCy8QOH0RathRyTw/mNzY3NjIiOLvAK5Dov9tlpZjp6gkqmrP30G Iu8qPh5s+HgIiJBVy3nNIQAOGgKkRKW0B6RlgtGWPNnBBtC3Zo1UnZ8iSQNGjknVTzQ04n bbdvGzhsnjlgN3xL9opduPJG00nFTeOwogdswWMTOYgwlTAfd72xJfAA0GGNWyVXk2K4FX 2easDM9EieIzsVdWPwES+y3Dj7U84Tn/D18zMjuZfVFgrqc7sUaJtjo8PlxSJFWl/m/O9D 3QoeSEw388OXxINMxSFjParF6KZTBHArhdmxMsTp9pBpAgnU639uB+6WIm14DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731382098; 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=uXiDx28DpWCDhPYgUbYF4yrjgWmkCFmHxpSFXihvQ5g=; b=yrzp6/Y5huWOHds/0DUXOCTWYrQlX4dX6R5XENf53FdSLYDzhAcXSNzL/Uro13lzvOjJEX 3X3WVjIWgUGTltPvFtCK7OrlmfIj5tumFxEqb0e1Pb0APzvKarfJDsC2ftwaeEx3yHpZ+W llOqgvQGQrNjcCLfGfMEFd9TyiUzIJ5iseHtfsZNpHCOu6QgVUpAlVNKW77294sM2CNth8 IWE+7K7RpgcfTQKPZQ5q3twdjFnKAo/pOdcEFXnhcQf8kCHtCZlkB/McfwbchU+PQ1bJ76 EpukT47UmXoYOpewZdyo9EdSs/ms3rhuM789CbyDQuq4JkF7X21vZ0LbuIHCsA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731382098; a=rsa-sha256; cv=none; b=H6gxRTzQ6VVBZCLqqoqT8fVBviJMcexb8SLb61B2u4mrPhDcfHbRmtHO6M/KmumKOnz/2y Y+NPJRPIOuyxWId8iuiLFwA4OjJdsGlGX83R4Mj68cXYiMv606uAoyU54qiwLTsnN0A2Og x3B+qt1Yos1ClOjr22rgxQwsk355rKPedMvS4DbvquLNIs4UrChdCliaZYwaq/yU7HZPaT KGBk8S8TGsWUt+OqreolBdzEeXD4MkeTfzwWVuBljVISa+pAqlm4hBb+/9IDJ9oI59cu8I FHMaurY6xqt1GBCvkmmAvCNsSFbv/P+AFF/vgG/5+YBMcgrysDvwcbTvvUMs4g== 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 4XnX1Z1lZnztRV; Tue, 12 Nov 2024 03:28:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4AC3SIAA078096; Tue, 12 Nov 2024 03:28:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AC3SI0d078093; Tue, 12 Nov 2024 03:28:18 GMT (envelope-from git) Date: Tue, 12 Nov 2024 03:28:18 GMT Message-Id: <202411120328.4AC3SI0d078093@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 858a7a27f5c8 - main - ipfilter: Close a bracket in the poolnode error message 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 858a7a27f5c82c8364a0eb8bf1d9f0b1315422aa Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=858a7a27f5c82c8364a0eb8bf1d9f0b1315422aa commit 858a7a27f5c82c8364a0eb8bf1d9f0b1315422aa Author: Cy Schubert AuthorDate: 2024-11-07 16:48:00 +0000 Commit: Cy Schubert CommitDate: 2024-11-12 03:20:49 +0000 ipfilter: Close a bracket in the poolnode error message When a node in a tree is discovered in error, i.e. duplicate, the IP address of the node is printed but no closing bracket completes the node in the message. Fix this. MFC after: 1 week --- sbin/ipf/libipf/load_poolnode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sbin/ipf/libipf/load_poolnode.c b/sbin/ipf/libipf/load_poolnode.c index 7a01da9df94b..0e41a3921b71 100644 --- a/sbin/ipf/libipf/load_poolnode.c +++ b/sbin/ipf/libipf/load_poolnode.c @@ -57,6 +57,7 @@ load_poolnode(int role, char *name, ip_pool_node_t *node, int ttl, snprintf(msg, sizeof(msg), "%s pool(%s) node(%s/", what, name, inet_ntoa(pn.ipn_addr.adf_addr.in4)); strlcat(msg, inet_ntoa(pn.ipn_mask.adf_addr.in4), sizeof(msg)); + strcat(msg, ")"); return (ipf_perror_fd(pool_fd(), iocfunc, msg)); } }