diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-04-11 09:52:23 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-04-11 09:52:23 +0200 |
commit | f830fce5c95a1771ceb8c2d727a8c99c7bc64e7e (patch) | |
tree | 3a0fc10f35afd78a50a81ea32da594f5708ccf61 /src/expr/objref.c | |
parent | d58ea1f1a898a914879ae177917fd44e1b78e063 (diff) |
expr: objref: do not print id
The lookup expression does not do this either, so let's be consistent
and remove it.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/expr/objref.c')
-rw-r--r-- | src/expr/objref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/objref.c b/src/expr/objref.c index 4cfa3cb..64ee863 100644 --- a/src/expr/objref.c +++ b/src/expr/objref.c @@ -225,8 +225,8 @@ static int nftnl_expr_objref_snprintf_default(char *buf, size_t len, struct nftnl_expr_objref *objref = nftnl_expr_data(e); if (e->flags & (1 << NFTNL_EXPR_OBJREF_SET_SREG)) - return snprintf(buf, len, "sreg %u set %s id %u ", - objref->set.sreg, objref->set.name, objref->set.id); + return snprintf(buf, len, "sreg %u set %s ", + objref->set.sreg, objref->set.name); else return snprintf(buf, len, "type %u name %s ", objref->imm.type, objref->imm.name); |