]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Increase size of buffer to support more interfaces.
authorMurray <source@isc.org>
Sun, 9 Jun 2002 22:52:39 +0000 (22:52 +0000)
committerMurray <source@isc.org>
Sun, 9 Jun 2002 22:52:39 +0000 (22:52 +0000)
Submitted by: NAKAMURA Motonori <motonori@media.kyoto-u.ac.jp>
RT #: 2974

common/discover.c

index b11bb095f12cded10d163cdc4610bcfa2833f8e9..d1aa5d27305e45511207be0e941a2d02605d2dc4 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: discover.c,v 1.45 2002/06/09 22:49:51 murray Exp $ Copyright (c) 1995-2001 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: discover.c,v 1.46 2002/06/09 22:52:39 murray Exp $ Copyright (c) 1995-2001 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -135,7 +135,7 @@ void discover_interfaces (state)
 {
        struct interface_info *tmp, *ip;
        struct interface_info *last, *next;
-       char buf [2048];
+       char buf [4096];
        struct ifconf ic;
        struct ifreq ifr;
        int i;