mirror of
https://github.com/openwrt/openwrt.git
synced 2025-04-21 17:42:30 +00:00
odhcp6c: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35370
This commit is contained in:
parent
fac1ed35ac
commit
1a0b207d61
package/network/ipv6/odhcp6c
@ -8,7 +8,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=odhcp6c
|
||||
PKG_VERSION:=2013-01-28
|
||||
PKG_VERSION:=2013-01-29
|
||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
|
@ -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 () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user