On Thu, 12 Jul 2018 12:09:26 -0400
Qiaobin Fu <qiaob...@bu.edu> wrote:

> +             if (*flags & SKBEDIT_F_INHERITDSFIELD)
> +                     print_string(PRINT_ANY, "inheritdsfield", " %s",
> +                                  "inheritdsfield");

Flags should be represented in JSON output as a null value (or boolean).
                print_null(PRINT_ANY, "inheritdsfield", " %s", 
"inheritdsfield");
This will generate:
                        "inheritdsfield" : null,
Instead of:

                        "inheritdsfield" : "inheritdsfield",

Reply via email to