From nobody Mon Nov 25 15:14:44 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 4Xxq4h4rHKz5dlMD; Mon, 25 Nov 2024 15:14:44 +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 4Xxq4h44mxz42nx; Mon, 25 Nov 2024 15:14:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732547684; 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=a3G0akWEOooK5DFw6Qsm9zJ2mpNCZlfTmnjB+i9mkOs=; b=oS0zMEJ5TSCvuOqTRv3Nt5j1pdR9e/ig5Qi1PUs0ZJjptN6RZGDjbOB0w9R+0dThPihI5D Sm3Bq4IqNWyeVUi6QPbc/1yBfISFmG2wHa5o/HSueW2C/6fV7ChXny1HP+GTi1bsGWKeCe 2UkaTNAyoMbNhKCQgWi/xVGCHJyX/VhiNFw8kwNL5w3SEZwD5rSPXoIHxEP4o6+TzU2phO DQDPgVNN6UhJzr+qrSPxRvXTQHyjZhMGPA79scxjLFptmRYSlV2czpWTEF2TJCr4sjhB4M x5YCOl6DdhwL6HOmJoM8Yp8HXRA8BOPkrD4zpjvsH2j3+L9swuMoOmAV3rR08A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732547684; 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=a3G0akWEOooK5DFw6Qsm9zJ2mpNCZlfTmnjB+i9mkOs=; b=v8siPYhmcw2flaSVV57C8OwXhehQGS9LDu9oVJrgNXhttFGH8iIieaB0SYxSsZAo++X09E /ShUVAhHk/hx3ZtZk9dKdN2bp1lAWKFN6aJbwAZwlI/aPbrj8RpSJBJF7+ltevLfEahFS4 ifH68hwFe2f8NYyZQzD0TC0TYvQF96cLujVL3ro4kwuI+H7qPqwGelpeSUZcCFvzjRPs41 Ga8EflkHg+bLwjDxZIxGz2NG7zKGmMiSg+elpPy7v3ucc4tB2kN2H3a4/eGo7GObIi9v0S +SNnjTQy40zjYzWWH5r6if4VkCxHGnSqNsLK5N4rM9q7xvcAOdnS7HC24HuQQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732547684; a=rsa-sha256; cv=none; b=wJ5bAqqJmX6P5wZuHgYWGlIBJvQ5Os06jiVCaxtN2x/vPKjQhX6wfImxg6gS1CVxNgfOz5 9Eev2ayqfFxorGbHyJ10do/QxqHGtDzkRaN0FEKPXzqxJ7Dowi9BgBAZ/un27EJ6e3fvNR TMceQAS9oEW1jjTtKF5teCnT5ItAIhCwOTwgDrJ2+dhm5uZ4RqjzV3b/uQcyTJgGXQIrnW t3bh6Q3tQMJJeiLaTvs8NtNwngsfSTHDytmyVBkPUmdUj4k3jPBYqlAtGlrwzc88WZsQLf YSB6+1AYonnA9pWFxqTw26A0jewbPDUfDEp8/WFHMy346Yf9i3Evh/ZApw/K2Q== 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 4Xxq4h3bf6zlGm; Mon, 25 Nov 2024 15:14:44 +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 4APFEi0V056134; Mon, 25 Nov 2024 15:14:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4APFEih7056131; Mon, 25 Nov 2024 15:14:44 GMT (envelope-from git) Date: Mon, 25 Nov 2024 15:14:44 GMT Message-Id: <202411251514.4APFEih7056131@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 73b42eff2596 - main - rc.conf: Update commented examples for lo0 to use CIDR 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73b42eff2596a2bda45ce3ef7f505720ba0f2df0 Auto-Submitted: auto-generated The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=73b42eff2596a2bda45ce3ef7f505720ba0f2df0 commit 73b42eff2596a2bda45ce3ef7f505720ba0f2df0 Author: John Baldwin AuthorDate: 2024-11-25 15:14:33 +0000 Commit: John Baldwin CommitDate: 2024-11-25 15:14:33 +0000 rc.conf: Update commented examples for lo0 to use CIDR In particular, a bare IP address no longer works. Reviewed by: bz, imp, emaste Differential Revision: https://reviews.freebsd.org/D47716 --- libexec/rc/rc.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rc/rc.conf b/libexec/rc/rc.conf index 6689a2ab85dd..62756fece201 100644 --- a/libexec/rc/rc.conf +++ b/libexec/rc/rc.conf @@ -263,8 +263,8 @@ icmp_log_redirect="NO" # Set to YES to log ICMP REDIRECT packets network_interfaces="auto" # List of network interfaces (or "auto"). cloned_interfaces="" # List of cloned network interfaces to create. #cloned_interfaces="gif0 gif1 gif2 gif3" # Pre-cloning GENERIC config. -#ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration. -#ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff" # Sample alias entry. +#ifconfig_lo0="inet 127.0.0.1/8" # default loopback device configuration. +#ifconfig_lo0_alias0="inet 127.0.0.254/32" # Sample alias entry. #ifconfig_em0_ipv6="inet6 2001:db8:1::1 prefixlen 64" # Sample IPv6 addr entry #ifconfig_em0_alias0="inet6 2001:db8:2::1 prefixlen 64" # Sample IPv6 alias #ifconfig_em0_name="net0" # Change interface name from em0 to net0.