ldapdns (2.06-3.4) 004-fix_rfc2308.patch

Summary

 engine.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

    
download this patch

Patch contents

--- ldapdns-2.06.orig/engine.c	2005-05-09 19:54:35.000000000 +0200
+++ ldapdns-2.06/engine.c	2005-05-09 19:56:15.000000000 +0200
@@ -2168,7 +2168,7 @@
 			|| !response_addulong(c, c->minimum)) {
 				fatal("could not construct SOA");
 			}
-			response_rfinish(c, RESPONSE_ANSWER);
+			response_rfinish(c, RESPONSE_AUTHORITY);
 		}
 
 		/* also included SOA */
@@ -2269,7 +2269,7 @@
 			|| !response_addulong(c, c->minimum)) {
 				fatal("could not construct SOA");
 			}
-			response_rfinish(c, RESPONSE_ANSWER);
+			response_rfinish(c, RESPONSE_AUTHORITY);
 		}
 
 		/* also included SOA */
@@ -2337,7 +2337,7 @@
 			|| !response_addulong(c, c->minimum)) {
 				fatal("could not construct SOA");
 			}
-			response_rfinish(c, RESPONSE_ANSWER);
+			response_rfinish(c, RESPONSE_AUTHORITY);
 		}
 
 		/* also included SOA */
@@ -2376,7 +2376,7 @@
 			|| !response_addulong(c, c->minimum)) {
 				fatal("could not construct SOA");
 			}
-			response_rfinish(c, RESPONSE_ANSWER);
+			response_rfinish(c, RESPONSE_AUTHORITY);
 		}
 
 		/* also included SOA */
@@ -2434,7 +2434,7 @@
 			|| !response_addulong(c, c->minimum)) {
 				fatal("could not construct SOA");
 			}
-			response_rfinish(c, RESPONSE_ANSWER);
+			response_rfinish(c, RESPONSE_AUTHORITY);
 		}
 		while ((dat = list_pop(&c->NS))) {
 			if (!response_rstart(c, c->request_name_zone, DNS_T_NS, c->ttl)