]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use ISC_SOCKADDR_FORMATSIZE
authorAndreas Gustafsson <source@isc.org>
Tue, 19 Dec 2000 19:21:39 +0000 (19:21 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 19 Dec 2000 19:21:39 +0000 (19:21 +0000)
bin/named/client.c

index 907005e177b27c1d878ca2474e775ae0bc0c39ad..09790c3573f394aaea07a37ec0368c724e58926d 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.135 2000/12/02 05:57:16 gson Exp $ */
+/* $Id: client.c,v 1.136 2000/12/19 19:21:39 gson Exp $ */
 
 #include <config.h>
 
@@ -2036,7 +2036,7 @@ ns_client_logv(ns_client_t *client, isc_logcategory_t *category,
           isc_logmodule_t *module, int level, const char *fmt, va_list ap)
 {
        char msgbuf[2048];
-       char peerbuf[256];
+       char peerbuf[ISC_SOCKADDR_FORMATSIZE];
 
        vsnprintf(msgbuf, sizeof(msgbuf), fmt, ap);