]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
made error messages about bad netmasks consistent
authorAndreas Gustafsson <source@isc.org>
Thu, 8 Mar 2001 18:39:50 +0000 (18:39 +0000)
committerAndreas Gustafsson <source@isc.org>
Thu, 8 Mar 2001 18:39:50 +0000 (18:39 +0000)
lib/dns/config/confparser.y.dirty

index 02248ac3b0d51e88bf13a246b28303ca157ccb33..c6b4a1f23b6a2ac690a89b1547281463c0772a1b 100644 (file)
@@ -33,7 +33,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: confparser.y.dirty,v 1.44.2.6 2001/03/08 18:24:54 bwelling Exp $ */
+/* $Id: confparser.y.dirty,v 1.44.2.7 2001/03/08 18:39:50 gson Exp $ */
 
 #include <config.h>
 
@@ -3407,7 +3407,8 @@ address_match_simple: ip_address
                } else {
                        if ($3 < 0 || $3 > 32) {
                                parser_error(ISC_FALSE,
-                                            "mask bits out of range; ");
+                                            "mask bits (%d) out of range",
+                                            (int) $3);
                                YYABORT;
                        } else {
                                ia.s_addr = htonl(($1 & 0xff) << 24);