Skip to content

Commit

Permalink
net/radvd: modify patch to work with SIGHUP issue seem in 23.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Mar 21, 2023
1 parent 1121215 commit 3dfe253
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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/

Expand Down
2 changes: 1 addition & 1 deletion net/radvd/files/patch-device-bsd44.c
Expand Up @@ -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);
+ }
Expand Down

0 comments on commit 3dfe253

Please sign in to comment.