Don't accept router advertisements by default

This commit is contained in:
Matthias Schiffer 2014-01-11 17:43:35 +01:00
parent 616fef804d
commit 5edc68e7c7
1 changed files with 3 additions and 0 deletions

View File

@ -26,3 +26,6 @@ tl-wdr4300) # fix up duplicate mac addresses
esac
uci_commit network
echo 'net.ipv6.conf.all.accept_ra=0' >> /etc/sysctl.conf
echo 'net.ipv6.conf.default.accept_ra=0' >> /etc/sysctl.conf