summaryrefslogtreecommitdiff
path: root/package/network/ipv6/odhcp6c/files/dhcpv6.script
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2015-07-18 05:44:50 +0000
committerSteven Barth <cyrus@openwrt.org>2015-07-18 05:44:50 +0000
commit706adb1601c83e43a07fb11b2fd2fa27612360e3 (patch)
treed60f093a693426964c769d26927d21ff13f4ba7e /package/network/ipv6/odhcp6c/files/dhcpv6.script
parent59671b844aedb33f2b40798c45b2d6403786df39 (diff)
downloadmtk-20170518-706adb1601c83e43a07fb11b2fd2fa27612360e3.zip
mtk-20170518-706adb1601c83e43a07fb11b2fd2fa27612360e3.tar.gz
mtk-20170518-706adb1601c83e43a07fb11b2fd2fa27612360e3.tar.bz2
odhcp6c: add option "sourcefilter" to disable source filter
Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 46408
Diffstat (limited to 'package/network/ipv6/odhcp6c/files/dhcpv6.script')
-rwxr-xr-xpackage/network/ipv6/odhcp6c/files/dhcpv6.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/ipv6/odhcp6c/files/dhcpv6.script b/package/network/ipv6/odhcp6c/files/dhcpv6.script
index b8cbddb..33f6d9b 100755
--- a/package/network/ipv6/odhcp6c/files/dhcpv6.script
+++ b/package/network/ipv6/odhcp6c/files/dhcpv6.script
@@ -76,7 +76,7 @@ setup_interface () {
done
for entry in $RA_ROUTES; do
- local duplicate=0
+ local duplicate=$NOSOURCEFILTER
local addr="${entry%%/*}"
entry="${entry#*/}"
local mask="${entry%%,*}"