summaryrefslogtreecommitdiffstats
path: root/src/nf-log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nf-log.c')
-rw-r--r--src/nf-log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nf-log.c b/src/nf-log.c
index 26bae6d..913ba16 100644
--- a/src/nf-log.c
+++ b/src/nf-log.c
@@ -96,7 +96,7 @@ int main(int argc, char *argv[])
copy_range = 0xFFFF;
if (argc > 4)
- copy_mode = atoi(argv[4]);
+ copy_range = atoi(argv[4]);
nfnl_log_set_copy_range(log, copy_range);
if ((err = nfnl_log_create(nf_sock, log)) < 0)