Files
kubernetes/pkg
Masashi Honma 4d30435f24 ipset: Address a TODO, add test for netmask
This PR removes a TODO comment by adding some netmask tests. The TODO comment
introduced by commit e768924a62 "validate entry in ipset".

// TODO: CIDR /32 may not be valid

The comment says that 32 is invalid netmask, but in reality values ​​from 0 to
32 are valid because the result of the Linux ipset command says so.

$ sudo ipset create foo hash:ip,port,net
$ sudo ipset add foo 10.20.30.40,53,192.168.3.1/33
ipset v7.5: Syntax error: '33' is out of range 0-32
$ sudo ipset --version
ipset v7.5, protocol version: 7

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2020-10-19 20:22:02 +09:00
..
2020-10-15 08:56:33 -04:00
2020-05-16 07:54:33 -04:00
2020-07-30 13:48:40 -04:00
2020-10-14 16:45:06 +02:00
2020-10-15 08:56:33 -04:00
2020-09-14 09:24:41 -04:00
2020-09-14 09:24:41 -04:00
2020-09-04 11:22:11 -04:00
2020-10-15 08:56:33 -04:00
2020-05-16 07:54:33 -04:00
2020-05-16 07:54:33 -04:00
2020-05-16 07:54:33 -04:00
2020-09-14 09:24:41 -04:00