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

This commit is contained in:
Hiroki Sato 2009-09-26 19:00:47 +00:00
parent 27fa984efd
commit 97c8942c91

View File

@ -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