From owner-freebsd-ports Fri Jun 21 7:10:41 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C841C37B435 for ; Fri, 21 Jun 2002 07:10:02 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5LEA2h81881; Fri, 21 Jun 2002 07:10:02 -0700 (PDT) (envelope-from gnats) Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117]) by hub.freebsd.org (Postfix) with ESMTP id BFD1237B401 for ; Fri, 21 Jun 2002 07:00:15 -0700 (PDT) Received: from www.freebsd.org (localhost [127.0.0.1]) by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g5LE0FhG014951 for ; Fri, 21 Jun 2002 07:00:15 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.2/8.12.2/Submit) id g5LE0FWo014950; Fri, 21 Jun 2002 07:00:15 -0700 (PDT) Message-Id: <200206211400.g5LE0FWo014950@www.freebsd.org> Date: Fri, 21 Jun 2002 07:00:15 -0700 (PDT) From: Yuri Ryazantsev To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/39621: isc-dhcpd server can't get all network interfaces Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39621 >Category: ports >Synopsis: isc-dhcpd server can't get all network interfaces >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Jun 21 07:10:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Yuri Ryazantsev >Release: 4.6-STABLE >Organization: eHouse >Environment: FreeBSD hobbit.ehouse.ru 4.6-STABLE FreeBSD 4.6-STABLE #1: Fri Jun 21 15:52:23 MSD 2002 root@hobbit.ehouse.ru:/usr/obj usr/src/sys/BASE i386 >Description: I have 4 network card + lp0 + ds0 + vlan32 I wan't start dhcpd on vlan interfaces. And when I run: dhcpd vlanNN, where NN <= 13, all OK. But when I put: dhcpd vlan14, server can't start with diagnostic error: vlan14: not found >How-To-Repeat: >Fix: I'm not sure, but problem was solved :-) --- common/discover.c.orig Tue Mar 12 09:46:17 2002 +++ common/discover.c Fri Jun 21 17:36:36 2002 @@ -135,7 +135,7 @@ { struct interface_info *tmp, *ip; struct interface_info *last, *next; - char buf [2048]; + char buf [8192]; struct ifconf ic; struct ifreq ifr; int i; >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message