Subject: Re: gif(4) IFF_UP behavior change
To: None <tech-net@netbsd.org>
From: Todd Vierling <tv@wasabisystems.com>
List: current-users
Date: 07/29/2001 10:49:25
On Sun, 29 Jul 2001, Jun-ichiro itojun Hagino wrote:

: 	with the older code, gif(4) interface goes to IFF_UP state with
: 	physical (outer) address configuration, like:
: 		# gif0 goes to IFF_UP mistakenly after this
: 		ifconfig gif0 tunnel A B
: 	the behavior is now corrected.  if you have gif(4) configuration in
: 	your system, and relied upon the behavior, you will need to add a
: 	line to bring the interface up.
: 		ifconfig gif0 tunnel A B
: 		ifconfig gif0 up

Another thing should probably be corrected ... Most other interfaces *do*
set IFF_UP automatically when the native addresses (not tunnel addresses)
are set.  I didn't see this happen with gif0, and it might be proper to
change this to be uniform.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi NetBSD:  Run with it.
-- NetBSD 1.5 now available on CD-ROM  --  http://www.wasabisystems.com/