summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorКоренберг Марк (дома) <socketpair@gmail.com>2012-09-21 23:10:26 +0600
committerКоренберг Марк (дома) <socketpair@gmail.com>2012-10-19 22:43:17 +0600
commite7ec197da35d5f8efc44af0afbe21b8612478a57 (patch)
tree68fbf4b818f289bf72f7ff3521dadba3937b563f /src
parente1b67fb23f8f802f3b287c66fda531e002ca20d7 (diff)
downloadlibnl-e7ec197da35d5f8efc44af0afbe21b8612478a57.tar.gz
nf-log example: correct copy-range parsing
Diffstat (limited to 'src')
-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)