do the same fix for without-getifaddr case as the previous one
do the same fix for without-getifaddr case as the previous one

MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame,MarginC/kame