diff options
Diffstat (limited to 'extensions/libipt_realm.c')
-rw-r--r-- | extensions/libipt_realm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/libipt_realm.c b/extensions/libipt_realm.c index 0a4bc3b3..b5c9032b 100644 --- a/extensions/libipt_realm.c +++ b/extensions/libipt_realm.c @@ -115,16 +115,16 @@ print_realm_xlate(unsigned long id, unsigned long mask, const char *name = NULL; if (mask != 0xffffffff) - xt_xlate_add(xl, " and 0x%lx %s 0x%lx ", mask, + xt_xlate_add(xl, " and 0x%lx %s 0x%lx", mask, op == XT_OP_EQ ? "==" : "!=", id); else { if (numeric == 0) name = xtables_lmap_id2name(realms, id); if (name) - xt_xlate_add(xl, "%s%s ", + xt_xlate_add(xl, "%s%s", op == XT_OP_EQ ? "" : "!= ", name); else - xt_xlate_add(xl, " %s0x%lx ", + xt_xlate_add(xl, " %s0x%lx", op == XT_OP_EQ ? "" : "!= ", id); } } |