Re: [ANNOUNCE] ipset 2.4 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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 ','.
                                                                   ~~
Just one more note: this ".1" looks strange, is it intentionally? It comes
from:

fprintf(stderr, "Warning: please replace old separator character '%s.1' with ','.\n"
		"Next release won't support it.\n",
	ptr);

Maybe insted of '%s.1' something like '%c' should be used here, to print only one character - the deprecated separator?

Best regards,

				Krzysztof Olędzki

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux