Permalink
Browse files

Correct to set SA/SPD properly

  • Loading branch information...
1 parent 1940bf5 commit 324d8dfc352ca0653f7475d9c1c83679b7ab9e06 t-momose committed Jan 23, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 freebsd5/etc/rc.d/network_ipv6_mobile
@@ -68,7 +68,7 @@ network_ipv6_mobile_start()
${SYSCTL_W} net.inet6.ip6.accept_rtadv=1
# setup SPD/SA
if [ `${SYSCTL_N} net.inet6.mip6.use_ipsec` = "1" ]; then
- for node_dir in ${ipv6_mobile_config_dir}
+ for node_dir in ${ipv6_mobile_config_dir:=/usr/local/v6/etc/mobileip6}/*
do
if [ ! -e ${node_dir}/add ]; then
continue;
@@ -94,7 +94,7 @@ network_ipv6_mobile_start()
*)
# setup SPD/SA
if [ `sysctl -n net.inet6.mip6.use_ipsec` = '1' ]; then
- for node_dir in ${ipv6_mobile_config_dir}
+ for node_dir in ${ipv6_mobile_config_dir:=/usr/local/v6/etc/mobileip6}/*
do
if [ ! -e ${node_dir}/add ]; then
continue;

0 comments on commit 324d8df

Please sign in to comment.