From 97c8942c918e3f8b32ef94d297bebfc18ebd87f7 Mon Sep 17 00:00:00 2001 From: Hiroki Sato Date: Sat, 26 Sep 2009 19:00:47 +0000 Subject: [PATCH] Use ipv6if() when $rtadvd_interfaces="AUTO". --- etc/rc.d/rtadvd | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/rtadvd b/etc/rc.d/rtadvd index dbf4be257b73..99b700d2c826 100755 --- a/etc/rc.d/rtadvd +++ b/etc/rc.d/rtadvd @@ -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