svn commit: r197528 - head/etc/rc.d
Hiroki Sato
hrs at FreeBSD.org
Sat Sep 26 19:00:47 UTC 2009
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
More information about the svn-src-head
mailing list