View | Details | Raw Unified | Return to bug 245666 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nsd
4
PORTNAME=	nsd
5
PORTVERSION=	4.3.0
5
PORTVERSION=	4.3.1
6
PORTREVISION=	1
7
CATEGORIES=	dns
6
CATEGORIES=	dns
8
MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
7
MASTER_SITES=	http://www.nlnetlabs.nl/downloads/nsd/	\
9
		ftp://ftp.rhnet.is/pub/nsd/
8
		ftp://ftp.rhnet.is/pub/nsd/
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1584440239
1
TIMESTAMP = 1587026038
2
SHA256 (nsd-4.3.0.tar.gz) = 7a007d655d30f1edd001206839107e651966e1e519d53ba2c036491044111e97
2
SHA256 (nsd-4.3.1.tar.gz) = f4b34ace6651a81386464cc990f046e7328aa2485274fe8743086997129d8987
3
SIZE (nsd-4.3.0.tar.gz) = 1168198
3
SIZE (nsd-4.3.1.tar.gz) = 1173582
(-)files/patch-server.c (-11 lines)
Lines 1-11 Link Here
1
--- server.c.orig	2020-03-17 10:00:17 UTC
2
+++ server.c
3
@@ -1104,7 +1104,7 @@ set_setfib(struct nsd_socket *sock)
4
 {
5
 #if defined(SO_SETFIB)
6
 	if(setsockopt(sock->s, SOL_SOCKET, SO_SETFIB,
7
-	              (const void *)(uintptr_t)sock->fib, sizeof(sock->fib)) == -1)
8
+	              (const void *)(uintptr_t)&sock->fib, sizeof(sock->fib)) == -1)
9
 	{
10
 		log_msg(LOG_ERR, "setsockopt(..., %s, %d, ...) failed: %s",
11
 		                 "SO_SETFIB", sock->fib, strerror(errno));

Return to bug 245666