summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/test/i4to6
blob: b1208fd923dd7e164ebf1a00e86519fc13aa2c8a (plain)
1
2
3
4
5
6
7
8
9
10
11
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