diff options
author | Ana Rey <anarey@gmail.com> | 2014-06-13 14:08:29 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-06-16 12:19:33 +0200 |
commit | f1577cb1b05d35593a4d4f36abe94ce408edc0b6 (patch) | |
tree | 7f1ba19ede49d40cd061783c8b49afce4d8a0fbe /src/expr/byteorder.c | |
parent | 8cb249d46fd38c7ff6ebdbbd2e75862771e3b8a5 (diff) |
expr: nat: Do not print unset values in json file
It changes the parse functions to omit unset values.
Now, It possible to use a xml file like this:
[...]
{
"type": "nat",
"nat_type": "snat",
"family": "ip",
"sreg_addr_min": 1,
"sreg_addr_max": 1,
}
Signed-off-by: Ana Rey <anarey@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/byteorder.c')
0 files changed, 0 insertions, 0 deletions