diff options
author | Ed Maste <emaste@FreeBSD.org> | 2020-06-15 13:44:37 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2020-06-15 13:44:37 +0000 |
commit | e6a066ac3e8fdf1fcd4f3f2ca1b82bd55eb2da2a (patch) | |
tree | d6a99e0065ab5d39b716a0d5272ef21055745e0c /diff/named.diff | |
parent | 6fa63e1816f543db1c68320f442e30f95d8f9f78 (diff) |
Notes
Diffstat (limited to 'diff/named.diff')
-rw-r--r-- | diff/named.diff | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/diff/named.diff b/diff/named.diff index fcd97ba7ec1f4..a5069ff94df7e 100644 --- a/diff/named.diff +++ b/diff/named.diff @@ -8,17 +8,17 @@ +#include <named/types.h> +#include <named/client.h> + -+#include <blacklist.h> ++#include <blocklist.h> + +#include "pfilter.h" + -+static struct blacklist *blstate; ++static struct blocklist *blstate; + +void +pfilter_open(void) +{ + if (blstate == NULL) -+ blstate = blacklist_open(); ++ blstate = blocklist_open(); +} + +#define TCP_CLIENT(c) (((c)->attributes & NS_CLIENTATTR_TCP) != 0) @@ -39,7 +39,7 @@ + } + if (socket == NULL) + return; -+ blacklist_sa_r(blstate, ++ blocklist_sa_r(blstate, + res != ISC_R_SUCCESS, isc_socket_getfd(socket), + &client->peeraddr.type.sa, client->peeraddr.length, msg); +} @@ -63,8 +63,8 @@ diff -u -u -r1.8 Makefile + pfilter.c tkeyconf.c tsigconf.c \ update.c xfrout.c zoneconf.c ${SRCS_UNIX} -+LDADD+=-lblacklist -+DPADD+=${LIBBLACKLIST} ++LDADD+=-lblocklist ++DPADD+=${LIBBLOCKLIST} .include <bsd.prog.mk> Index: dist/bin/named/client.c =================================================================== |