From: Коренберг Марк (дома) Date: Fri, 21 Sep 2012 17:10:26 +0000 (+0600) Subject: nf-log example: correct copy-range parsing X-Git-Tag: libnl3_2_15~62^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e7ec197da35d5f8efc44af0afbe21b8612478a57;p=libnl nf-log example: correct copy-range parsing --- 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)