From nobody Fri Jun 02 16:10:35 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 4QXnzH2ymRz4YwGp; Fri, 2 Jun 2023 16:10:35 +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 4QXnzH2VDrz3FkX; Fri, 2 Jun 2023 16:10:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685722235; 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=CDy2zneK4R0vdhePpw9hEzeAd3l3fOOmm1styiXXKLw=; b=lD0z1SiAQlv0+3eOKiWESS9lEbzMIk9lowLPdf3H5VvspOFKurd7gfHgsbdGeePZONNSPG aQbba/8lUvJ8rlB9s3W7QWZ+t13vxKHNvc49VTtR/wwAFOi3FikLWnJd7tnFWOmx7t7uC4 4zUNjdvMLgZPST40F6Nk+LsooEDVtIgizlYrxsMfPQv7c37sbtTE+59RyVguhDcBIsyXHg 6V10Dm2ej5zZokLoS7bZHFaaYk11FOa3Xl2x2Py5zV/oWNRP99pCyYDvJjAjSTvYOYn2lk mWB1DWZj8mlPvfilE4DLlX80t2jp82UcO2uU7mPbuhK4RHooQ5/YPDEIVxxoZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685722235; 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=CDy2zneK4R0vdhePpw9hEzeAd3l3fOOmm1styiXXKLw=; b=SgkM3sSyaFt0sfybrsVfWY9QwAYyW8+lvsKNr3jfEbtkTmI7EIgK3Z/4WlEmWPQ/XM4Vom 2hdEuP/FYxQ+fpUuf1EOmFUIHGDvZ0F5nzxAMhLQRJWHaKlCylnM8nr+p0w/MOuSPahzTE dJpQI3Hj+3gQzZf0bYCwEYv5tAoqpxhQmaFxWrfb2G+bQOmqj6IQT1Bl8/+8TnllKJ6fOi z3rsw6cJzDr6rAzkhK56uGenRYuQitLfbyJQ6K04/ZfvUfc3jxtAl0iOyhm66pjqfS6cOw Iwo+uZLJVal2cOfk2cHjEa8kTT3VpP7zbRivydiuWIDc2aoQkdHZutN3D/VgAw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685722235; a=rsa-sha256; cv=none; b=Q2aQNBop886cHBue2ndH9LXUI9gBxQ9JD0+9Kh3C3LYpM1OU6sMINath2CBu0tpbNHZioE iFVzAHk9EMqbz/fQiJzAPHodwabEl+uifOc5R3ePirr9Iq1cG+sSvT7vhYOYzsI0Sm+T45 lkPxmSyVHDKdY6Ace+hE/pYt0GayKQ/azimgwwnq4MHLKGt5vYHUq29nczSJma+vaMS90B q7/k9DNq8wRm64HVkCcJoiPRy6rkPMeHtIvV82zysJcNpLrt+8UDM/OBf+4G/TSw1GpB7d EeMaTJ07CSk+Piq5Dc6BFThpCrwUEsqA0si4Zn6swcx/8Praa0FWB89BAenPAQ== 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 4QXnzH1ZWkz15Kn; Fri, 2 Jun 2023 16:10:35 +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 352GAZ6Z051846; Fri, 2 Jun 2023 16:10:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 352GAZgH051845; Fri, 2 Jun 2023 16:10:35 GMT (envelope-from git) Date: Fri, 2 Jun 2023 16:10:35 GMT Message-Id: <202306021610.352GAZgH051845@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 7811cca8722d - main - netlink: fix compilation withous INET6 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: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7811cca8722dbf91df4144be462ec220c690f294 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=7811cca8722dbf91df4144be462ec220c690f294 commit 7811cca8722dbf91df4144be462ec220c690f294 Author: Gleb Smirnoff AuthorDate: 2023-06-02 16:09:55 +0000 Commit: Gleb Smirnoff CommitDate: 2023-06-02 16:10:26 +0000 netlink: fix compilation withous INET6 Fixes: a77facd27368f618520d25391cfce11149879a41 --- sys/netlink/route/iface.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/netlink/route/iface.c b/sys/netlink/route/iface.c index 5e0295e7fe52..16bbe4d000cc 100644 --- a/sys/netlink/route/iface.c +++ b/sys/netlink/route/iface.c @@ -1277,9 +1277,7 @@ rtnl_handle_addr(struct nlmsghdr *hdr, struct nlpcb *nlp, struct nl_pstate *npt) attrs.ifa_index); return (ENOENT); } -#ifdef INET6 int if_flags = if_getflags(ifp); -#endif #if defined(INET) || defined(INET6) bool new = hdr->nlmsg_type == NL_RTM_NEWADDR;