odhcp6c: remove IPv6 forwarding-sysctl workaround
[librecmc/librecmc.git] / package / network / ipv6 / odhcp6c / files / dhcpv6.script
index f2161c23394a1648e0b0d1c3e00508a36474d801..be91d164227845ee459eec990553e9012e45ce05 100755 (executable)
@@ -10,7 +10,6 @@ ipv6_conf() {
 prepare_interface() {
        local device="$1"
        ipv6_conf "$device" accept_ra 2
-       ipv6_conf "$device" forwarding 2
 
        # Send RS
        if [ -x /usr/sbin/6relayd ]; then
@@ -24,8 +23,7 @@ prepare_interface() {
 
 cleanup_interface() {
        local device="$1"
-       ipv6_conf "$device" accept_ra 1
-       ipv6_conf "$device" forwarding 1
+       ipv6_conf "$device" accept_ra 0
 }
 
 setup_interface () {