From nobody Sat May 04 21:48:00 2024 X-Original-To: dev-commits-src-main@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 4VX1W457Q0z5Jfy8; Sat, 4 May 2024 21:48:00 +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 4VX1W43lFGz4STq; Sat, 4 May 2024 21:48:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714859280; 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=L1EKLCJ90FVaG7dRYD+LpDmT41KkP6CRStM1Qh6Xv9Q=; b=d0QmUQgGsk5R2lwDIx6Kut/Za8vtl+sF34Je4C/GDuDtJ7LjP7kZccQCgoJk6sBEW6Pe4g +Cuhrnx9ok8wXo8i+aeh/FymrtB/Hcvz57JO89E69Ru/PTMGqnjYEfHoszs5P5Rhlyu+FP x5KUiKg5A4gZXwPmwvnXGF9Em2FVoXQ8gT4mM9/ErYKZXSxTbvNBWWy6uwRAqWAYZ8a95Q vZJ2R3nWtEZrfoTFg3OHVCX4K5ilgmOkqctEogUQGJoGdOkg/9Np58fbXcKYZvvrRivg9d EjWqCHHuL2XzT+A4j2D3RSYbmv/gsJ61PNIuwEtUER9QgmMNC4gIpUpunGig1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714859280; a=rsa-sha256; cv=none; b=yXmpLLefoRrZm8RZOjsgMv46Trx14ry9BH3UbtvTcvfKMVUA3F3nWF7j7IpFa97pXWvLGG 0f4P8ao4+zZaP9NfFgI91ndkfp99qb7URI/AUVAWWjru5PKob1IwDxG8rkCw13xy/GUhrI 0LOYqMVFVcR/ORuL8c75F/D9G4LqS2naAFHvhDVkzd4DPIB9x/oj/BP+zJJ3VB8aCd4O5O nGNghveCCmyZkm+TKL7JoGiUTUQSPYqKN1R2FkAktaObrsRL1M/ifXsUOHzshc6FzB/OgD vzi7Mrx4Ko5XEB6rTG5PkL+/wieYqgOcuXbYtm23996yesvOtjf05qhF1ZHTuQ== 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=1714859280; 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=L1EKLCJ90FVaG7dRYD+LpDmT41KkP6CRStM1Qh6Xv9Q=; b=uOkwgwOW3Ou9zxNw4ZOQ3ZpYJjesPOCVUzpx7fwUn6HJX0NTrTUc880yMBBCiRlB8p45cM upSBae/32mdtPLkNn7jrxcB/Pa4sIOAxBfKzMFB8IE3CByvAQ3EeIp5AQl2MeSSWu+xUJl 3S6q9azSfunk0C3O7LojWe3iXFyTYrN9vhNyh8eqQw8Riu9e+cPSiGt2yuQOoyOEhXZZIZ EZS10gATho6/0LJT6aBQehJnQOEBigA9qYYUWVwPLDyGHs0U28cop4M+jfw13f/XlND+iu BPwV9CS+Rw0jPlxhEIZrhwcinPdwgYtVfIYLaWHZBH33OZz13gRbeyfgwzoP2g== 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 4VX1W43LR4zn2y; Sat, 4 May 2024 21:48:00 +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 444Lm07k007151; Sat, 4 May 2024 21:48:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 444Lm0rN007148; Sat, 4 May 2024 21:48:00 GMT (envelope-from git) Date: Sat, 4 May 2024 21:48:00 GMT Message-Id: <202405042148.444Lm0rN007148@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 4fc5f321bac9 - main - rc.conf.5: Fix translation from netmask to cdir List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4fc5f321bac9b33c6163dedb98108e9755fa284c Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=4fc5f321bac9b33c6163dedb98108e9755fa284c commit 4fc5f321bac9b33c6163dedb98108e9755fa284c Author: Warner Losh AuthorDate: 2024-05-04 21:41:36 +0000 Commit: Warner Losh CommitDate: 2024-05-04 21:41:36 +0000 rc.conf.5: Fix translation from netmask to cdir These two should have been 30 bit masks, not 32, as the original netmasks were 255.255.255.252. Fixes: cb808de400c7 Noticed by: Kelly Hays --- share/man/man5/rc.conf.5 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5 index 91da91691756..a45c60cca410 100644 --- a/share/man/man5/rc.conf.5 +++ b/share/man/man5/rc.conf.5 @@ -2062,9 +2062,9 @@ interfaces with: .Bd -literal gif_interfaces="gif0 gif1" gifconfig_gif0="100.64.0.1 100.64.0.2" -ifconfig_gif0="inet 10.0.0.1/32 10.0.0.2" +ifconfig_gif0="inet 10.0.0.1/30 10.0.0.2" gifconfig_gif1="inet6 2a00::1 2a01::1" -ifconfig_gif1="inet 10.1.0.1/32 10.1.0.2" +ifconfig_gif1="inet 10.1.0.1/30 10.1.0.2" .Ed .It Va ppp_enable .Pq Vt bool