On Tue, 21 Oct 2008, Jozsef Kadlecsik wrote:
On Tue, 21 Oct 2008, Krzysztof Oledzki wrote:
# element separator token changed to ',' in anticipating IPv6 addresses, old
separator tokens are still supported
# cat aqq
-N aqq macipmap --from 1.2.3.1 --to 1.2.3.10
-A aqq 1.2.3.10,11:22:33:44:55:66
COMMIT
# cat aqq|ipset -R
Warning: please replace old separator character ':22:33:44:55:66.1' with ','.
Next release won't support it.
OK, so what we are deprecating here? The recently introduced '%' separator or
also the ':' mac address separator?
No, the separator between the different kind of elements, i.e. between IP
address and port or between IP address and MAC address. The token
separators inside IPv4(/IPv6) and MAC addresses remain the usual ones.
Great!
That message is just misleading and I'm going to fix it.
OK, thanks. BTW, is it possible to print this warning only once as
restoring a ipset with 2K entries generates 2K warnings.
Sorry for the mess created by introducing earlier the '%' as a separator,
that was a bad choice. :-(
That's the smallest problem here, simple sed can handle it. ;)
Best regards,
Krzysztof Olędzki