Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 07:00:15 -0700 (PDT)
From:      Yuri Ryazantsev <yuri@unix.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/39621: isc-dhcpd server can't get all network interfaces
Message-ID:  <200206211400.g5LE0FWo014950@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206211400.g5LE0FWo014950>