make this nicer
This commit is contained in:
parent
1770391621
commit
2071425ca2
31
external/bsd/blacklist/diff/named.diff
vendored
31
external/bsd/blacklist/diff/named.diff
vendored
@ -1,14 +1,10 @@
|
||||
? named.diff
|
||||
? pfilter.c
|
||||
? pfilter.h
|
||||
? x
|
||||
Index: client.c
|
||||
===================================================================
|
||||
RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/client.c,v
|
||||
retrieving revision 1.11
|
||||
diff -u -u -r1.11 client.c
|
||||
--- client.c 10 Dec 2014 04:37:51 -0000 1.11
|
||||
+++ client.c 22 Jan 2015 06:47:45 -0000
|
||||
+++ client.c 22 Jan 2015 17:54:19 -0000
|
||||
@@ -65,6 +65,8 @@
|
||||
#include <named/server.h>
|
||||
#include <named/update.h>
|
||||
@ -32,23 +28,21 @@ RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/main.c,v
|
||||
retrieving revision 1.15
|
||||
diff -u -u -r1.15 main.c
|
||||
--- main.c 10 Dec 2014 04:37:51 -0000 1.15
|
||||
+++ main.c 22 Jan 2015 06:47:45 -0000
|
||||
@@ -83,6 +83,9 @@
|
||||
#ifdef HAVE_LIBXML2
|
||||
#include <libxml/xmlversion.h>
|
||||
+++ main.c 22 Jan 2015 17:54:19 -0000
|
||||
@@ -95,6 +95,8 @@
|
||||
#include <dlz/dlz_drivers.h>
|
||||
#endif
|
||||
+
|
||||
|
||||
+#include "pfilter.h"
|
||||
+
|
||||
/*
|
||||
* Include header files for database drivers here.
|
||||
* The maximum number of stack frames to dump on assertion failure.
|
||||
*/
|
||||
@@ -1206,6 +1209,8 @@
|
||||
@@ -1206,6 +1208,7 @@
|
||||
|
||||
parse_command_line(argc, argv);
|
||||
|
||||
+ pfilter_open();
|
||||
+
|
||||
/*
|
||||
* Warn about common configuration error.
|
||||
*/
|
||||
@ -58,7 +52,7 @@ RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/query.c,v
|
||||
retrieving revision 1.17
|
||||
diff -u -u -r1.17 query.c
|
||||
--- query.c 10 Dec 2014 04:37:52 -0000 1.17
|
||||
+++ query.c 22 Jan 2015 06:47:45 -0000
|
||||
+++ query.c 22 Jan 2015 17:54:19 -0000
|
||||
@@ -65,6 +65,8 @@
|
||||
#include <named/sortlist.h>
|
||||
#include <named/xfrout.h>
|
||||
@ -90,7 +84,7 @@ RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/update.c,v
|
||||
retrieving revision 1.9
|
||||
diff -u -u -r1.9 update.c
|
||||
--- update.c 10 Dec 2014 04:37:52 -0000 1.9
|
||||
+++ update.c 22 Jan 2015 06:47:45 -0000
|
||||
+++ update.c 22 Jan 2015 17:54:19 -0000
|
||||
@@ -59,6 +59,8 @@
|
||||
#include <named/server.h>
|
||||
#include <named/update.h>
|
||||
@ -122,7 +116,7 @@ RCS file: /cvsroot/src/external/bsd/bind/dist/bin/named/xfrout.c,v
|
||||
retrieving revision 1.7
|
||||
diff -u -u -r1.7 xfrout.c
|
||||
--- xfrout.c 10 Dec 2014 04:37:52 -0000 1.7
|
||||
+++ xfrout.c 22 Jan 2015 06:47:45 -0000
|
||||
+++ xfrout.c 22 Jan 2015 17:54:19 -0000
|
||||
@@ -54,6 +54,8 @@
|
||||
#include <named/server.h>
|
||||
#include <named/xfrout.h>
|
||||
@ -132,11 +126,10 @@ diff -u -u -r1.7 xfrout.c
|
||||
/*! \file
|
||||
* \brief
|
||||
* Outgoing AXFR and IXFR.
|
||||
@@ -821,7 +823,7 @@
|
||||
question_name,
|
||||
@@ -822,6 +824,7 @@
|
||||
&client->peeraddr,
|
||||
&db);
|
||||
-
|
||||
|
||||
+ pfilter_notify(result, client, "zonexfr");
|
||||
if (result == ISC_R_NOPERM) {
|
||||
char _buf1[DNS_NAME_FORMATSIZE];
|
||||
|
Loading…
Reference in New Issue
Block a user