git: 132939b5ee34 - main - net/radvd: adapt previous patch to check for proper return value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 11 Apr 2023 17:13:07 UTC
The branch main has been updated by farrokhi: URL: https://cgit.FreeBSD.org/ports/commit/?id=132939b5ee344bfd798a91c6900eb718217e7035 commit 132939b5ee344bfd798a91c6900eb718217e7035 Author: Babak Farrokhi <farrokhi@FreeBSD.org> AuthorDate: 2023-04-11 17:12:08 +0000 Commit: Babak Farrokhi <farrokhi@FreeBSD.org> 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 <franco@opnsense.org> --- 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); + }