From nobody Mon May 22 14:55:00 2023 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 4QQ0q830kRz4BXxP; Mon, 22 May 2023 14:55: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 4QQ0q82Ffpz3GDQ; Mon, 22 May 2023 14:55:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684767300; 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=1yQqrFNXSgZaKBONnPZOvQiu6xfljGzvKajQHTlODwY=; b=ax9gD3kNnXhwARnmqhtfX90e6L8Og0OHmGu6UTQRtbb/bZfz7M2CSlVonq8gLwwfzp5JnV b5bBA9uQryjxyBxjDkV7bxRHIff9GG9SNsNoSQxProVUnaCA5ukYCRIKArUBq9NEMZXDKm jRLT9p95/zt+FajBa8K0VpY/BCn37pVyM7OqWiux/r1vy3DdQcyVfbOUIPNwjx4Eu4acAD DMcZFu8wH4uX2ald/XqDi0tOOjbKbmbcywweP7fljwCx3FIdK9fxviHcUgwI0Cs5Q2Bril bxPMOq3Snb5dJoBkRk6PhAjNrYW/mbpgNKxi+SXH0LsVKnuiSGN6k+1+rfa1zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684767300; 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=1yQqrFNXSgZaKBONnPZOvQiu6xfljGzvKajQHTlODwY=; b=S7pPr0Qg+m2gjFbvRYosd+OvQlIbhaMa4OrZ0JlyQq2LTuM7G5OW2ZI1kl4NdpyyGErh8r sgEMiZ8TtfMRuC2xepFldxuSY5O21V10HVO+YZPrMsXBp/s/ocTMFj6iuO3mmdSEcp5A9c 2aDpI1FzmE1JLnjDsl6SlUEBoBzGF2q48Ke3lZHN4gjdbfXMTrpiFmEd0zhjDGvdwjidMY mui0npoEF1DgX1I25Q5x/FAJf2qOI8P3aNwYf7sZNuXQ8sx+7owiI+VB592fW4iCPjUwta SZoCGfbo4FNuNuXDoiHgDLQKe1xaDgdbxjtigX55+GgpZr0FN8kT/X0GKOv+vQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684767300; a=rsa-sha256; cv=none; b=QnWOV1lraRREkfdXRT2rSR/VjmtTZ0vhPpZTWdTWaBRwUsCyM0YU3BDwZ/piYtHgHjHOW1 +JBjukEGES10MHZCjROae9q2pzgewFxXaLj6UWWnb4Y3Q/BHqpiJ79xEzMTz+nHD/RWFtY S2Mi2xwxJ9r/GbRWA/nhwfzyS/LSDNVqey6R4rnY2LjVjLmu5BlFodn1tR7cDV2oaExb/Z xD8kzB6keihcyYTj3x1ULWR9hudXHQnxNS13TESAxg4BMmVUtvVu9GoUvj4RPiPYU7g2JW jUQNl5ffQsyaA6eOtJeqEiIzincT8d0Ec/Qdyn9wT+RB9xZIaL5xDHuZstCXoQ== 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 4QQ0q81DMqzMTt; Mon, 22 May 2023 14:55:00 +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 34MEt0kH091795; Mon, 22 May 2023 14:55:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34MEt0ZB091794; Mon, 22 May 2023 14:55:00 GMT (envelope-from git) Date: Mon, 22 May 2023 14:55:00 GMT Message-Id: <202305221455.34MEt0ZB091794@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 5b8ce85e1a72 - main - ifconfig: Fix the build 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5b8ce85e1a72d2c9541cb344b4e157f38f6a5d6c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=5b8ce85e1a72d2c9541cb344b4e157f38f6a5d6c commit 5b8ce85e1a72d2c9541cb344b4e157f38f6a5d6c Author: Mark Johnston AuthorDate: 2023-05-22 14:53:38 +0000 Commit: Mark Johnston CommitDate: 2023-05-22 14:53:38 +0000 ifconfig: Fix the build Fix indentation in warn_nomask() while here. Fixes: 54418f79fd29 ("ifconfig: switch IPv4/IPv6 address manipulations to Netlink") --- sbin/ifconfig/af_inet.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sbin/ifconfig/af_inet.c b/sbin/ifconfig/af_inet.c index ab2b01320d04..53a9595653ba 100644 --- a/sbin/ifconfig/af_inet.c +++ b/sbin/ifconfig/af_inet.c @@ -382,12 +382,12 @@ in_setdefaultmask_nl(void) #endif static void -warn_nomask(ifflags) +warn_nomask(int ifflags) { - if ((ifflags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) { - warnx("WARNING: setting interface address without mask " - "is deprecated,\ndefault mask may not be correct."); - } + if ((ifflags & (IFF_POINTOPOINT | IFF_LOOPBACK)) == 0) { + warnx("WARNING: setting interface address without mask " + "is deprecated,\ndefault mask may not be correct."); + } } static void