diff options
author | Коренберг Марк (дома) <socketpair@gmail.com> | 2012-09-21 17:10:26 (GMT) |
---|---|---|
committer | Коренберг Марк (дома) <socketpair@gmail.com> | 2012-10-19 16:43:17 (GMT) |
commit | e7ec197da35d5f8efc44af0afbe21b8612478a57 (patch) | |
tree | 68fbf4b818f289bf72f7ff3521dadba3937b563f /src | |
parent | e1b67fb23f8f802f3b287c66fda531e002ca20d7 (diff) | |
download | libnl-e7ec197da35d5f8efc44af0afbe21b8612478a57.zip libnl-e7ec197da35d5f8efc44af0afbe21b8612478a57.tar.gz libnl-e7ec197da35d5f8efc44af0afbe21b8612478a57.tar.bz2 |
nf-log example: correct copy-range parsing
Diffstat (limited to 'src')
-rw-r--r-- | src/nf-log.c | 2 |
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) |