summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/test/i4to6
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/test/i4to6')
-rw-r--r--contrib/ipfilter/test/i4to612
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/ipfilter/test/i4to6 b/contrib/ipfilter/test/i4to6
new file mode 100644
index 0000000..b1208fd
--- /dev/null
+++ b/contrib/ipfilter/test/i4to6
@@ -0,0 +1,12 @@
+sed \
+-e 's/in /in6 /g' \
+-e 's/icmp/58/g' \
+-e 's/out /out6 /g' \
+-e 's/10\.4\.\([0-9]\)\.\([0-9]\)/10:4:\1::\2/g' \
+-e 's/10\.3\.4\.\([0-9]\)/10::3:4:\1/g' \
+-e 's/10\.3\.\([0-9]\)\.\([0-9]\)/10:3:\1::\2/g' \
+-e 's/10\.1\.\([0-9]\)\.\([0-9]\)/10:1:\1::\2/g' \
+-e 's/10\.2\.\([0-9]\)\.\([0-9]\)/10::2:\1:\2/g' \
+-e 's/9\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/9:\1:\2::\3/g' \
+-e 's/5\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/5:\1::\2:\3/g' \
+-e 's/2\.\([0-9]\)\.\([0-9]\)\.\([0-9]\)/2::\1:\2:\3/g'
OpenPOWER on IntegriCloud