odhcp6c: remove IPv6 forwarding-sysctl workaround
SVN-Revision: 35370
This commit is contained in:
parent
fac1ed35ac
commit
1a0b207d61
2 changed files with 2 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=odhcp6c
|
PKG_NAME:=odhcp6c
|
||||||
PKG_VERSION:=2013-01-28
|
PKG_VERSION:=2013-01-29
|
||||||
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
|
|
|
@ -10,7 +10,6 @@ ipv6_conf() {
|
||||||
prepare_interface() {
|
prepare_interface() {
|
||||||
local device="$1"
|
local device="$1"
|
||||||
ipv6_conf "$device" accept_ra 2
|
ipv6_conf "$device" accept_ra 2
|
||||||
ipv6_conf "$device" forwarding 2
|
|
||||||
|
|
||||||
# Send RS
|
# Send RS
|
||||||
if [ -x /usr/sbin/6relayd ]; then
|
if [ -x /usr/sbin/6relayd ]; then
|
||||||
|
@ -24,8 +23,7 @@ prepare_interface() {
|
||||||
|
|
||||||
cleanup_interface() {
|
cleanup_interface() {
|
||||||
local device="$1"
|
local device="$1"
|
||||||
ipv6_conf "$device" accept_ra 1
|
ipv6_conf "$device" accept_ra 0
|
||||||
ipv6_conf "$device" forwarding 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_interface () {
|
setup_interface () {
|
||||||
|
|
Loading…
Reference in a new issue