diff options
author | Zhang Chunyu <zhangcy@cn.fujitsu.com> | 2015-03-29 22:35:47 -0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-04-16 13:04:12 +0200 |
commit | dbbe9f7de36aa3c7dd61dc89092c03f7902e474e (patch) | |
tree | 35a473acfc8d24cfb9af26176fd387260b9db343 /libarptc | |
parent | 935acea0326785834b22f2233e1b1e3f8d000f7d (diff) |
arptables: Add revision field for arptables userspace
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Zhang Chunyu <zhangcy@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libarptc')
-rw-r--r-- | libarptc/libarptc_incl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarptc/libarptc_incl.c b/libarptc/libarptc_incl.c index a034930..87404ce 100644 --- a/libarptc/libarptc_incl.c +++ b/libarptc/libarptc_incl.c @@ -872,7 +872,7 @@ map_target(const TC_HANDLE_T handle, /* memset to all 0 for your memcmp convenience. */ memset(t->u.user.name + strlen(t->u.user.name), 0, - FUNCTION_MAXNAMELEN - strlen(t->u.user.name)); + FUNCTION_MAXNAMELEN - 1 - strlen(t->u.user.name)); return 1; } |