From nobody Tue Apr 11 17:13:07 2023 X-Original-To: dev-commits-ports-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 4PwsqS3dfpz45C7H; Tue, 11 Apr 2023 17:13:08 +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 4PwsqR3pQwz49FM; Tue, 11 Apr 2023 17:13:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681233187; 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=KV8UibhCdQbJhg5cnUpad1R+MI1F6jrCvfAiSzQf3V4=; b=PDh6cubZmdAqUo6hxTVfA2jMeZpiAB7K3KCgvexs1r9eSXOGU7JPfrfLMC1zuyyTiD0fct 1XwBqJU/NEA/wD+ZPCkD3VqEsGKds5DkEX9vYDZXGeI8h+HnVqE6tDtNPkZqCBr03iEHjO leR0K3aCQCujaBz0u5gMocMKAm5uuJJKqh6AR2LizcaGxwwchMXMFWmYpIIdXi6eLNj4lS Cdbyb+sd2r/KQuMgSEo8JCaEf6TsDU13YC4f2nIREJJUODo5l0g1nlHrxT30jW9ZbPKGml D7s+T+8JOTnkpr1IDnf2QFOJEjTYDye9pQ4OzM7YErW5QnZJxI+drxUB/y9Ieg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681233187; 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=KV8UibhCdQbJhg5cnUpad1R+MI1F6jrCvfAiSzQf3V4=; b=sLiHMKuuEBzNl3Ct8GgkjAUBNR3LNvbBczhSvO4W+3NQ7pbudI0YU+du/6c3s+m/6WA6kd sgQGbg/U+Qm+XeZPPX8GYuiNibuh4BCLVpAtcf2YBSdbzhXTuZmVnFTR4W9XFTzqzgGjUA SxT/L/ke5qSDwBd/OuQq20X/odOfBf/amMOgTsaV/05j3gaUEEkEr5qYDTZfTwIe1y80ip XwfboQAKWw4sob9Zy6boskT1PdOUbi0IXSpVjomNCHd5s/o/KwTzPkSkFni6NbcpDk1HW1 zhLIRams5tn7sytb3uNsGCIfWuBhcPUJlakLrD/Aa5x4RYLG/TyznasSd3ritA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681233187; a=rsa-sha256; cv=none; b=SGNnKuaaRThThwJgQ3n6T69YlFdAmKVLpdb03xafT7kzuALzRtsq7P19a49ybbYlw9w8HR h2K7gbLdFJRpH7jexfbgxm2LmrpXHoB8eixpivp0+0i/Uyqx+XBOCS9Gt0qCbHH5oj/BUP Tlp/8yZK6j0sUumTuj5AIkge3w0pb9N27AQdcL6zAkYHnd0s+ejCss5jSjTan8ALiI/XQO urYbMrBpSP1mDMSS8LkPxrDVfDrZFs/JBYzck8EV2MgHJHndfliou5RaNyYLg7mTR5VDAZ Tn3qhrP0qLN9I2x2mVYFcJwmn4+asUO0huPC/pRaXoqPT/YPRbDuEuiy8s1AYg== 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 4PwsqR2lx8zQp4; Tue, 11 Apr 2023 17:13:07 +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 33BHD773094828; Tue, 11 Apr 2023 17:13:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33BHD7uI094827; Tue, 11 Apr 2023 17:13:07 GMT (envelope-from git) Date: Tue, 11 Apr 2023 17:13:07 GMT Message-Id: <202304111713.33BHD7uI094827@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Babak Farrokhi Subject: git: 132939b5ee34 - main - net/radvd: adapt previous patch to check for proper return value List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: farrokhi X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 132939b5ee344bfd798a91c6900eb718217e7035 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by farrokhi: URL: https://cgit.FreeBSD.org/ports/commit/?id=132939b5ee344bfd798a91c6900eb718217e7035 commit 132939b5ee344bfd798a91c6900eb718217e7035 Author: Babak Farrokhi AuthorDate: 2023-04-11 17:12:08 +0000 Commit: Babak Farrokhi CommitDate: 2023-04-11 17:12:08 +0000 net/radvd: adapt previous patch to check for proper return value PR: 270757 Reported by: Franco Fichtner --- net/radvd/Makefile | 2 +- net/radvd/files/patch-device-bsd44.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/radvd/Makefile b/net/radvd/Makefile index 279eff677b23..2ccaa158e7db 100644 --- a/net/radvd/Makefile +++ b/net/radvd/Makefile @@ -1,6 +1,6 @@ PORTNAME= radvd PORTVERSION= 2.19 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= http://www.litech.org/radvd/dist/ diff --git a/net/radvd/files/patch-device-bsd44.c b/net/radvd/files/patch-device-bsd44.c index 721c6785978e..003e0a30de5f 100644 --- a/net/radvd/files/patch-device-bsd44.c +++ b/net/radvd/files/patch-device-bsd44.c @@ -20,7 +20,7 @@ + } + + if (setsockopt(sock, IPPROTO_IPV6, IPV6_JOIN_GROUP, -+ &mreq, sizeof(mreq)) < 0 && !iface->state_info.ready) { ++ &mreq, sizeof(mreq)) < 0 && errno != EADDRINUSE) { + flog(LOG_ERR, "can't join ipv6-allrouters on %s", iface->props.name); + return (-1); + }