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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to