meshkit: do not accept ra's on wan when using auto-ipv6
This commit is contained in:
parent
72ca7e03d8
commit
86e346f0cd
1 changed files with 4 additions and 1 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
. $dir/functions.sh
|
||||
|
||||
echo $profile_ipv6_config
|
||||
if [ "$profile_ipv6_config" = "auto-ipv6-fromv4" ]; then
|
||||
mode="fromv4"
|
||||
else
|
||||
|
@ -12,3 +11,7 @@ fi
|
|||
uci set autoipv6.olsr_node.enabled=1
|
||||
uci set autoipv6.olsr_node.mode="$mode"
|
||||
uci_commitverbose "Setup auto-ipv6" autoipv6
|
||||
|
||||
uci set network.wan.accept_ra=0
|
||||
uci_commitverbose "Do not accept ra's on wan when using auto-ipv6" network
|
||||
|
||||
|
|
Loading…
Reference in a new issue