Make it happy on FreeBSD 8.x and earlier.

This commit is contained in:
Hajimu UMEMOTO 2013-01-30 16:57:55 +00:00
parent 2a544b0242
commit 5401cf7a4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=311242

View file

@ -52,7 +52,8 @@ plen_equal()
start_precmd() start_precmd()
{ {
ifconfig ${u6rd_interface} create ifconfig ${u6rd_interface} create
ifconfig ${u6rd_interface} inet6 -nud -ifdisabled ifconfig ${u6rd_interface} inet6 -ifdisabled >/dev/null 2>&1
ifconfig ${u6rd_interface} inet6 -nud
if [ -n "${u6rd_my_v6_addr}" ]; then if [ -n "${u6rd_my_v6_addr}" ]; then
ifconfig ${u6rd_interface} inet6 ${u6rd_my_v6_addr} ifconfig ${u6rd_interface} inet6 ${u6rd_my_v6_addr}
fi fi