From nobody Thu Apr 13 09:34:02 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 4PxvXp6l3bz44d4d; Thu, 13 Apr 2023 09:34:02 +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 4PxvXp6G0Pz4LmS; Thu, 13 Apr 2023 09:34:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681378442; 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=IydbwGQIZTXRpRVM5TsPCLgHDmpWx11h3NkwpshOVJI=; b=G7Ek0ai6+99kgJeWT1Yg9w7d2A+TpF6kI5xOa6vJsB2JyfZaqREnI+S2bSoZbKSjXPQzXz moYd4jLvlyi92CVeRx67HCESLzS1MQBAEEQVe2KXmrEjmPozY5D6I10T7GPhqO0oOPM3lY JFL3rZTC+EMYwkQC6yuFue2gFG1ZQBnrmmulZbyWrPaR0P0Gwgwi3Oc57hyyDh2d7R1Ol8 htt6hJi0M18FX8N8JHYMLrCibEn0+xCz2TkSfwPpstQhnR6ugN3bHJFsIELWXUmXfskNFJ IYz1nADug7tkfte44zrAsGuF91gs5oBENHfht43yMohpPwfpL77osIHVI74/vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681378442; 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=IydbwGQIZTXRpRVM5TsPCLgHDmpWx11h3NkwpshOVJI=; b=Opf53Gq+yFKOSDIZ6KoYIAKtBftfJ+9GHxnvlS7oGVqwu7E0IPs2Nt5YyJ8vPAnoMT17aL cTsTtMWvEe2spmXKg2VSrXGnTehR9+Qm/GdgmCzpVRGQBYonWKdfW6QoMx0EWqckeK3aoC u1RxiXlf2ZeUmNQOx7xV/bnc6lj8KSsQLXJqLnc8EzeeQca/A8JAARj/w12e/U8j9g+0Q+ ZGydfynFe4lShUkRaUyEX+dPXQzcl74H+RHEzdgfBt/lxa1OFNqtkits4SP9R38+p5lJlY F+DZPHmozhf4JoEvEegOK/ltz83vvpFFxVn0YWMQutYn9ADEINouubVcK2h4Gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681378442; a=rsa-sha256; cv=none; b=Dyn49g4T/bOkEfqqyLmOJzgaDcDnvemoWnIyvN5jxgUitVh2Z2I9dBTb4jVyTSWrmRFH93 YzB19g3G8h+qMI7QG6SIaqCMIJuPBqgbjk1IypkAv8bAIY8dYfji+Jx4opRVI2iE3OSYL5 ilRQ6Jsb+EbnSd1ssz90JEXuf2OUS0mdEZLZfg+OrfL20oMmeUEKWsbGoDxyiWamgvnGp2 cQAQSqxizn9taHTIE/V3Al8f4K+Ylu9Ip/qXyAmzipkEW+7Ke2tMgJkE5uV+LqPfCU40J0 b76lglpQ3cdUYVZGrPUpjL9Ejmkr5N3cfbMfEAQlpfJJWJOMLG9VQOv53V9yeQ== 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 4PxvXp59q1zcq2; Thu, 13 Apr 2023 09:34:02 +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 33D9Y2Nb077904; Thu, 13 Apr 2023 09:34:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33D9Y2UB077903; Thu, 13 Apr 2023 09:34:02 GMT (envelope-from git) Date: Thu, 13 Apr 2023 09:34:02 GMT Message-Id: <202304130934.33D9Y2UB077903@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: f0311046a0e2 - main - ifconfig: change carp commands mcast and mcast6 to DEF_CMD as they take no args 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: f0311046a0e21cea8f343fa6fe868444ba552b3f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kp: URL: https://cgit.FreeBSD.org/src/commit/?id=f0311046a0e21cea8f343fa6fe868444ba552b3f commit f0311046a0e21cea8f343fa6fe868444ba552b3f Author: Reid Linnemann AuthorDate: 2023-04-13 07:18:18 +0000 Commit: Kristof Provost CommitDate: 2023-04-13 07:18:18 +0000 ifconfig: change carp commands mcast and mcast6 to DEF_CMD as they take no args Reviewed by: kp Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D39548 --- sbin/ifconfig/carp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/ifconfig/carp.c b/sbin/ifconfig/carp.c index 126a15a230df..940b3fa34c74 100644 --- a/sbin/ifconfig/carp.c +++ b/sbin/ifconfig/carp.c @@ -261,9 +261,9 @@ static struct cmd carp_cmds[] = { DEF_CMD_ARG("vhid", setcarp_vhid), DEF_CMD_ARG("state", setcarp_state), DEF_CMD_ARG("peer", setcarp_peer), - DEF_CMD_ARG("mcast", setcarp_mcast), + DEF_CMD("mcast", 0, setcarp_mcast), DEF_CMD_ARG("peer6", setcarp_peer6), - DEF_CMD_ARG("mcast6", setcarp_mcast6), + DEF_CMD("mcast6", 0, setcarp_mcast6), }; static struct afswtch af_carp = { .af_name = "af_carp",