mirror of https://github.com/hak5/openwrt.git
parent
d6afe712ab
commit
49874a57f1
|
@ -118,7 +118,7 @@
|
|||
+ acct = nf_conn_acct_find(ct);
|
||||
+ if (!acct)
|
||||
+ return 0;
|
||||
+ return (atomic64_read(acct[IP_CT_DIR_ORIGINAL].packets) + atomic64_read(acct[IP_CT_DIR_REPLY].packets));
|
||||
+ return (atomic64_read(&acct[IP_CT_DIR_ORIGINAL].packets) + atomic64_read(&acct[IP_CT_DIR_REPLY].packets));
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
|
|
Loading…
Reference in New Issue