Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 22:00:05 -0700 (PDT)
From:      "Jan L. Peterson" <jlp@softhome.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/38559: rc.network hangs for a long time attempting dhcp setup of disconnected interface 
Message-ID:  <200205260500.g4Q505I39001@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/38559; it has been noted by GNATS.

From: "Jan L. Peterson" <jlp@softhome.net>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org
Cc:  
Subject: Re: conf/38559: rc.network hangs for a long time attempting dhcp setup of disconnected interface 
Date: Sat, 25 May 2002 22:50:53 -0600

 This is a multipart MIME message.
 
 --==_Exmh_-2152329320
 Content-Type: text/plain; charset=us-ascii
 
 Here's the patch as promised.
 
 	-jan-
 
 
 
 --==_Exmh_-2152329320
 Content-Type: text/plain ; name="j1"; charset=us-ascii
 Content-Description: j1
 Content-Disposition: attachment; filename="j1"
 
 *** rc.network-orig	Sat May 25 22:32:58 2002
 --- rc.network	Fri May 17 21:52:56 2002
 ***************
 *** 203,209 ****
   			;;
   		[Dd][Hh][Cc][Pp])
   			# DHCP inits are done all in one go below
 ! 			dhcp_interfaces="$dhcp_interfaces $ifn"
   			eval showstat_$ifn=1
   			;;
   		*)
 --- 203,218 ----
   			;;
   		[Dd][Hh][Cc][Pp])
   			# DHCP inits are done all in one go below
 ! ### jlp
 ! ###
 ! ### check dhcp interfaces for signal before adding them in
 ! ###
 ! 			if ifconfig $ifn | grep status | 
 ! 			   grep -v "no carrier" >/dev/null 2>&1; then
 ! 				dhcp_interfaces="$dhcp_interfaces $ifn"
 ! 			fi
 ! ###
 ! ###
   			eval showstat_$ifn=1
   			;;
   		*)
 
 --==_Exmh_-2152329320
 Content-Type: text/plain; charset=us-ascii
 
 Jan L. Peterson
 <jlp@softhome.net>
 
 --==_Exmh_-2152329320--
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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