Commit 5ed0fdce authored by Jondy Zhao's avatar Jondy Zhao

Fix re6stnet can't work in the windows 7, disable 6to4, isatap, teredo interface.

parent f404c05d
...@@ -394,6 +394,13 @@ echo ...@@ -394,6 +394,13 @@ echo
echo Starting configure section taps ... echo Starting configure section taps ...
echo echo
if check_re6stnet_needed ; then if check_re6stnet_needed ; then
csih_inform "Disable IPv6 6to4 interface ... "
netsh interface ipv6 6to4 set state disable && csih_inform "OK."
csih_inform "Disable IPv6 isatap interface ... "
netsh interface ipv6 isatap set state disable && csih_inform "OK."
csih_inform "Disable IPv6 teredo interface ... "
netsh interface teredo set state disable && csih_inform "OK."
client_count=$(sed -n -e "s/^client-count *//p" $re6stnet_configure_file) client_count=$(sed -n -e "s/^client-count *//p" $re6stnet_configure_file)
[[ -z "$client_count" ]] && client_count=10 [[ -z "$client_count" ]] && client_count=10
echo "Re6stnet client-count: $client_count" echo "Re6stnet client-count: $client_count"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment