diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-23 10:12:00 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-23 10:12:00 +0000 |
commit | 8a96a235963c9a87957e7fa41dfc5bb29e731973 (patch) | |
tree | cf38f78fbc21a787dd45c687591e56ea2ec56848 /package/6to4/files.old | |
parent | 22d856df2d4053e45215d56d3b53a744c4231b57 (diff) | |
download | master-187ad058-8a96a235963c9a87957e7fa41dfc5bb29e731973.tar.gz master-187ad058-8a96a235963c9a87957e7fa41dfc5bb29e731973.tar.bz2 master-187ad058-8a96a235963c9a87957e7fa41dfc5bb29e731973.zip |
[package] 6to4: follow RFC 6598 and consider 100.61.0.0/10 a private range (#11323)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31444 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/6to4/files.old')
-rwxr-xr-x | package/6to4/files.old/6to4.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/6to4/files.old/6to4.sh b/package/6to4/files.old/6to4.sh index f7f48e5ba4..2329e0bd47 100755 --- a/package/6to4/files.old/6to4.sh +++ b/package/6to4/files.old/6to4.sh @@ -24,6 +24,10 @@ test_6to4_rfc1918() [ $1 -eq 10 ] && return 0 [ $1 -eq 192 ] && [ $2 -eq 168 ] && return 0 [ $1 -eq 172 ] && [ $2 -ge 16 ] && [ $2 -le 31 ] && return 0 + + # RFC 6598 + [ $1 -eq 100 ] && [ $2 -ge 64 ] && [ $2 -le 127 ] && return 0 + return 1 } |