blob: 05eced805dff15a9293983d8b9f8fedbb1b8eece (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
ipset x test >/dev/null 2>&1
ipset n test hash:ip
for x in `seq 0 255`; do
for y in `seq 0 255`; do
echo "a test 10.10.$x.$y"
done
done | ipset r
ipset -t list > .foo
diff .foo big_sort.terse
ipset -s save > .foo
diff .foo big_sort.saved
ipset x test
|