summaryrefslogtreecommitdiff
path: root/examples/bind/bind-9.13.5-W1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bind/bind-9.13.5-W1.patch')
-rw-r--r--examples/bind/bind-9.13.5-W1.patch6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/bind/bind-9.13.5-W1.patch b/examples/bind/bind-9.13.5-W1.patch
index bd732a6e..4e7a8542 100644
--- a/examples/bind/bind-9.13.5-W1.patch
+++ b/examples/bind/bind-9.13.5-W1.patch
@@ -1,7 +1,7 @@
diff -Nur ORIG.bind-9.13.5-W1/bin/named/main.c bind-9.13.5-W1/bin/named/main.c
--- ORIG.bind-9.13.5-W1/bin/named/main.c 2018-12-17 23:27:19.000000000 +0100
+++ bind-9.13.5-W1/bin/named/main.c 2019-01-11 17:37:23.537289679 +0100
-@@ -1311,11 +1311,285 @@
+@@ -1311,11 +1311,281 @@
}
#endif /* HAVE_LIBSCF */
@@ -98,10 +98,6 @@ diff -Nur ORIG.bind-9.13.5-W1/bin/named/main.c bind-9.13.5-W1/bin/named/main.c
+ close(nfd);
+ continue;
+ }
-+ if (rlen < 1) {
-+ close(nfd);
-+ continue;
-+ }
+
+ /* It's a response, so set QR bit to 1 */
+ uint8_t qr = rbuf[0] | 0x80;