blob: b1208fd923dd7e164ebf1a00e86519fc13aa2c8a [file] [log] [blame] [raw]
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'