Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2009 19:00:47 +0000 (UTC)
From:      Hiroki Sato <hrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197528 - head/etc/rc.d
Message-ID:  <200909261900.n8QJ0ltc067622@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hrs
Date: Sat Sep 26 19:00:47 2009
New Revision: 197528
URL: http://svn.freebsd.org/changeset/base/197528

Log:
  Use ipv6if() when $rtadvd_interfaces="AUTO".

Modified:
  head/etc/rc.d/rtadvd

Modified: head/etc/rc.d/rtadvd
==============================================================================
--- head/etc/rc.d/rtadvd	Sat Sep 26 19:00:20 2009	(r197527)
+++ head/etc/rc.d/rtadvd	Sat Sep 26 19:00:47 2009	(r197528)
@@ -43,7 +43,10 @@ rtadvd_precmd()
 	case ${rtadvd_interfaces} in
 	[Aa][Uu][Tt][Oo]|'')
 		for i in `ifconfig -l` ; do
-			if is_wired_interface $1; then
+			case $i in
+			lo0)	continue ;;
+			esac
+			if ipv6if $i; then
 				rtadvd_interfaces="${rtadvd_interfaces} ${i}"
 			fi
 		done



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