From: Murray Date: Sun, 9 Jun 2002 22:52:39 +0000 (+0000) Subject: Increase size of buffer to support more interfaces. X-Git-Tag: HEAD-MERGE-V3-0-3B1~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f77b31544a25c9dca5435b0c8990f3c0088368;p=thirdparty%2Fdhcp.git Increase size of buffer to support more interfaces. Submitted by: NAKAMURA Motonori RT #: 2974 --- diff --git a/common/discover.c b/common/discover.c index b11bb095f..d1aa5d273 100644 --- a/common/discover.c +++ b/common/discover.c @@ -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;