commit | a96166c24eaac1c91bed4815c09e91733409d888 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Sat Jul 14 15:39:20 2012 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sat Jul 14 15:39:23 2012 +0200 |
tree | 90de529c4328b2c7d85076dae9f41437ede7f997 | |
parent | 7e2b63603fef2253b463ad33395520297cfe8378 [diff] |
libxtables: add xtables_ip[6]mask_to_cidr This patch adds generic functions to return the mask in CIDR notation whenever is possible. This patch also simplifies xtables_ip[6]mask_to_numeric, that now use these new two functions. This patch also bumps libxtables_vcurrent and libxtables_vage since we added a couple new interfaces (thanks to Jan Engelhardt for his little reminder on this). Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>