commit | 5eef1588a110597e16b403221e3226d8f4779d05 | [log] [tgz] |
---|---|---|
author | Erwan Le Goas <elegoas@haproxy.com> | Thu Sep 29 10:25:31 2022 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Sep 29 10:53:14 2022 +0200 |
tree | 0ea65743e0bd36efe3bef21f73a312c0f5c99626 | |
parent | 3f4ae6194e372098565355f8c032e80402280e4c [diff] |
MINOR: tools: modify hash_ipanon in order to use it in cli Add a parameter hasport to return a simple hash or ipstring when ipstring has no port. Doesn't hash if scramble is null. Add option PA_O_PORT_RESOLVE to str2sa_range. Add a case UNIX. Those modification permit to use hash_ipanon in cli section in order to dump the same anonymization of address in the configuration file and with CLI. No backport needed, except if anonymization mechanism is backported.